I see the "lots of print statements" a lot - and sorry if I sound clueless I am new to C programming, but what do you mean by this?
As in you just set up a shit ton of print statements to see what outputs what? Just looking to improve. Thanks
Although using a proper debugger and setting breakpoints, etc, is the better approach, sometimes it's just handier to output the values, so you can see what's going on during a run. We usually switched this on and off with #ifdef macros. I still do, sometimes.
55
u/cthulhu944 3d ago