Skip to main content
6 events
when toggle format what by license comment
Jan 18, 2023 at 14:46 comment added chux @TobySpeight The challenge with many C questions is a learner not employing a well enabled compiler. With 40+ warnings, I was not inclined to review them all, but to convey to OP the value of knocking down that warning list first, before posting. At a minimal level, if the code compiles with C99, it meet C99 standards - which apparently OP did. At another level, it does not employ useful idioms. Yet some of those idioms tend to become style issues and so debatable. I suppose there was enough design issues that clouded the meet C99 standards goal.
Jan 18, 2023 at 14:02 comment added Max Thank you, this has helped me a lot! I've updated the code and added a link to a github repo. Unfortunately I haven't had the time yet to fix all issues but I will fix them over the time. If you like you can take a look at the repo (DDL for database table and insert command included). Thanks again for your great help!
Jan 18, 2023 at 8:37 comment added Toby Speight The wording here isn't great: "Does my code meet C99 standards? - Not quite." It implies that it falls short of being correct C99, rather than what I think you meant - that it doesn't make full use of C99 features that could make it better.
Jan 17, 2023 at 14:55 history edited chux CC BY-SA 4.0
added 26 characters in body
Jan 17, 2023 at 14:47 history edited chux CC BY-SA 4.0
deleted 23 characters in body
Jan 17, 2023 at 14:27 history answered chux CC BY-SA 4.0