Sorry works fine for me. Though I do have other code in there besides just what I showed, but I don't remember it offhand. I'm on the wrong computer right now.
Brendan
Type: Posts; User: CrustyDiaperNos
Sorry works fine for me. Though I do have other code in there besides just what I showed, but I don't remember it offhand. I'm on the wrong computer right now.
Brendan
Well, actually keyPressed is just a variable. I made my own gotoxy() function, works quite well. With the keyPressed thing:
int keyPressed = GetKey();
...
int GetKey()
{
I can't compile that, none of the include files i have contain the gotoxy() function or clrscr() function. Oh well, it looked interesting, if that helps...
Brendan
I had no issues with ASCII stuff, maybe it's just me. The random thing yes needs work, but all in all it's a nice program. My first calculator program was, needless to say, pathetic. Very good! ...
Im gonna look at it later, but on this computer thigs that initialize into fullscreen usually crash the computer (ive tried yours already) so ill switch later. ill tell ya what i think
Ok, lets try that then...
void SetPoint(Point * pt, int x, int y)
{
...
}