Yawn ... zzzz
It's time to hit the books, something I should have been doing since the beginning of the semester. Why must I always come up with a good "system" for studying, doing homework, preparing for exames ... weeks into the semester ?!?
google isn't letting me know why I am getting that "no newline at end of file" warning/error when I compile a C++ program with g++ ... is it an error or warning? shouldn't something like that have been taken care long ago?
back to VC++ for me, it seems where formatting and locating of errors is better done than in gcc or g++.
NOW I see the importance of taking classes like Data Structures. Ya know, those classes that teach one how to design algorithms and understand already existing algorithms for use in programming. I've never written a game, and the first one I want to write is a Tic-Tac-Toe one. The problem is that although I don't have a problem with 2D and 3D arrays per se, I am struggling with how to check every single piece (in the case of Tic-Tac-Toe there would be 9 pieces) and its neighbors for matching pieces, to determine if a player has won the game with three matching game pieces in a row.
I figure that from doing that, I can scale the algorithm to handle "neighbor checking" in a game like Connect-Four.
The next thing that I want to learn in programming C++ from the console is how to erase input (the effect of pressing an invisible BACKSPACE key), which would make for some cool effects such as a timer in a clock program, or a count-down in a game like Space Invaders, or a type-writing tutor.
Lately I've been having daytime "sweats". I've never been one to have problems with sweating, so this is troubling me. Does it have something to do with the thyroid? Could it be that I am at my all-time in weight (5'6" 155 lbs which isn't much)? Could it be the stress of school? Or some other health related problem?