3 ms·
This is such a great feedback. Thank you a lot. OFC I will try to correct my mistakes. Not to make any excuses, just for the context. I'm a beginner in C progr
by ir3k 3y ago
This is such a great feedback. Thank you a lot. OFC I will try to correct my mistakes.
Not to make any excuses, just for the context. I'm a beginner in C programming and I wrote only few small programs. My tooling is basically non existent. I will try to improve tho.
- anthk 3y agoTry "valgrind" to check potential memory leaks and also compile your C projects with -Wall and -Wextra, -pedantic it's fine too.
- lelanthran 3y agoThere's a page on the net somewhere, which was on HN front-page a while ago too, that listed all the useful warning flags for gcc, with an explanation. I'd look for it, as a C programmer. On phone now, so sadly don't have it handy.
- onsclom 3y agoIf you or someone else finds the link to this, I would love this!
- JNRowe 3y agoNot OP, but the one that sticks in my mind¹ with comments². Although, I also could've sworn I commented on it :/ ¹ https://nullprogram.com/blog/2023/04/29/ https://nullprogram.com/blog/2023/04/29/ ² https://news.ycombinator.com/item?id=35758898 https://news.ycombinator.com/item?id=35758898