It's been a while since my last post here!!
anyways, i'm trying to create a "Press any key to continue" in my code...
for example, i have to display 100 numbers.. each time the counter gets to 24, i should display the message, so the user gets to read the result... i think getch() is the way to do it, but i'm not sure about the exact code???
Please, help!! Thanx...

Here's the code i'm using by the way (the "Press..." only displays after the user presses a key.. starng, ha??!!):

Code:
#include <iostream.h>
#include <conio.h>

void main()
{
for (int i = 1; i <= 100; i++)
	{
	cout<<i<<endl;
	if (i % 24 == 0)
		{
		cout<<"Press any key to continue";
		getch();
		}
	}
}