i don't know if this would be teh correct place to post but i dont know anywhere else...
I'm having trouble trying to output a variable using graphics window BGI, i'm using Borland C++ builder....
Basically its a 5 second countdown/timer , just can't get teh variable to output on screen.
using namespace std;
int GraphDriver = 0;
int GraphMode = 0;
GraphDriver = 0;
GraphMode = 0;
timer = 5;
initgraph(&GraphDriver, &GraphMode, "", 640, 480);
outtextxy(10,200, timer);/*<<the timer variable is what i need to output but can't*/
timer = (timer - 1);
}while (timer >0);
return = 0;
I'd appreciate any help