Changing text of a console application

Is there any way to change text of a console program?

Like, a game, changing the score...
cminusminus, you must trust yourself. Here's a simple score changer. See if you can tell me what it really does?

//Author: Michael R. Clarke
//Date: 03/30/08
//Title: Simple Score Changer
void main()
{
int score = 0;
char yorn = 'Y';
while(yorn == 'Y')
{
system("cls");
cout << "Your score is: " << score << endl;
cout << "Answer (Y/N): ";
cin >> yorn;
if(yorn == 'Y')
{
score++;
}
}
}

Why doesn't this tab in???
Last edited on
Topic archived. No new replies allowed.