Skip to main content

Timeline for Simple paint program

Current License: CC BY-SA 4.0

9 events
when toggle format what by license comment
Jan 19 at 1:06 comment added Mike @Fe2O3 Good tip on Valgrind. First time using it. My program has grown since what I posted above, but glad to see that I have zero issues.
Jan 17 at 9:20 history edited user272752 CC BY-SA 4.0
Expand "Worrisome" regarding malloc() and typedef
Jan 17 at 5:13 history edited user272752 CC BY-SA 4.0
deleted 7 characters in body
Jan 17 at 4:00 history edited user272752 CC BY-SA 4.0
Add "Avoid extra variables" block
Jan 17 at 2:34 history edited user272752 CC BY-SA 4.0
Add "Worrisome" block
Jan 17 at 2:08 comment added Davislor In new C23 code, you have constexpr constants (but not functions). This can replace enum.
Jan 17 at 1:00 history edited user272752 CC BY-SA 4.0
Add "More (kinda) trivial" section...
Jan 17 at 0:47 comment added user272752 Personally, I'm unsettled that this app code uses malloc(), but then some mysterious library function is entrusted to perform free(). This feels unbalanced. The OP should run this with Valgrind (or something) to ensure all dynamic allocations have been released. This "sandbox" code could be destined for incorporation into a larger project...
Jan 17 at 0:28 history answered user272752 CC BY-SA 4.0