thanks ill check it out
Type: Posts; User: smartperson
thanks ill check it out
I'm trying to install Linux on my computer with winXP. (STUPID STUPID STUPID WINDOWS!!!!)
Anyway, it said to just restart and boot from the CD. I did that, and it gave me a message like "BOOTING...
wouldn't it just read the character as its integer equivalent?
do{
cin >>answer;
}while (answer>5);
if kbhit()
{
char dir=getch();
if (dir==72)
x--;
}
...etc.
You can also use the gotoxy(x,y) function to go to a specific cell on the screen. I think that's in conio.h
Use modulos. And next time, ask your teacher if you have trouble.
Would that be slower than BGI?
maybe if you set the width to 80 and right aligned
EDIT: ie cout.width=80;