I’d like to make one very straightforward and simple point, if I may. First, examine this:
FILE* f = fopen("/usr/src/409/final_world_data.txt", "+w");
Then, I would like to point that the surrounding text is full of asterisks and ampersands and structs and stuff, or at least it was earlier today. Now, it
is surrounded by all of those things and a king’s ransom worth of #ifdefs, and I don’t think I need to tell you what the #ifdef exchange rate looks like right now. Now, can you tell the difference between that line and this line?
FILE* f = fopen("/usr/src/409/final_world_data.txt", "w+");
I know you can. And if you are a programmer, and if your brain is larger than a peanut, you probably know why that small difference is important.
The point I wish to make is this: programming is very, very hard, if you are stupid.