I finally got my programming assignment handed in. I just cannot believe it though. I went through all of that trauma of trying to get the I/O to work (My C teacher last semester didn't teach us anything) only to hit more issues with scanf later. I swear. Programmers that use other languages have no idea how good they have it. ;_; All we have in C are these ancient routines like scanf, fgets, and so on.
And then finally when I get the program working as it should, I sftp'd it to the Debian servers at school to compile with gcc. I guess -Wall isn't a switch to point out errors, but more like a switch to make up a bunch of garbage and spew it at you when you have the nerve to try and compile your program. :l So then I had to go through this procedure of rearranging the order that I added my header files in, because apparently gcc is so stupid that it doesn't even try to check the #includes
when it sees a function declaration.
So then I checked by compiling my program with gcc on my system, and it worked flawlessly. But when I uploaded it to the server?
"implicit declaration of function strcmp"
I even included strings.h (because I was kind of expecting this lolol) and yet this happens. It works fine on my system!
So I'm sitting there worrying that my assignment's going to be late when I, by chance, did an ls and realized that it still compiled. And it worked!
Of course, that's only for this program. Who knows how bad next month's will be. ;_;'
And yes, of course, this is a parody and not meant to be teasing in any way. XD; I'm a girl too, afterall. It just so happens that my period is over. I still think that menstruation and colds should be mutually exclusive, though. Like, one should grant you immunity from the other.♥