Skip to main content

Timeline for Hangman game in C

Current License: CC BY-SA 4.0

5 events
when toggle format what by license comment
Sep 25, 2023 at 18:05 vote accept smwt
Sep 25, 2023 at 18:05 vote accept smwt
Sep 25, 2023 at 18:05
Sep 14, 2023 at 13:35 history edited pacmaninbw CC BY-SA 4.0
Added const to example
Sep 13, 2023 at 14:39 comment added Toby Speight That should be const char* words[], since string literals aren't modifiable (there's a GCC warning enabled by -Wwrite-strings that helps catch these). If we don't intend to modify the dictionary, we could be even more defensive, with const char *const words[].
Sep 13, 2023 at 13:53 history answered pacmaninbw CC BY-SA 4.0