The version I have right now (the second that I posted) doesn't use the timer function I was trying to work out how to include the kbhit() function, but I ended up rewriting so the timer is in main. I forgot to delete timer(). And getkeypress() is my own function. Why are the casts wrong? the tutorial gives this as an example:
Anyway I've tested it (tetris) and I've got two problems:
cout<< char ( 65 ) <<"\n";
1 The display flickers. The link treenef gave looks like it will help solve this (been kindof busy, so I havn't gotten around to it yet)
2 The program is choppy. This can be fatal in tetris. Mostly, I push a key and the block moves accordingly, but sometimes it lags, or take several times. I'm not sure why, maybe the way I have it looping isn't the best way to do things
Oh, yes. On the topic of crossplatforming, how difficult is it to prog for the palm os (4 or less, not 5). I'm kindof curious, cause while its unlikely that I will be programming something I'd actually use much for a while, even this tetris program would be fun if I could make a palm version.