2 Oct 2002 bytesplit   » (Journeyer)

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?

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!