This is program which i need help.
#include<iostream.h>
void main()
{
int c=0;
jump:c=c+1;
cout<<c<<endl;
goto jump;
}
OK When statement(goto jump) is encountered the program returns to label statement to execute the program second time and so on it never stop until ctrl+break is pressed.
i want that if programs starts and i specify a letter from keyboard and when i press that letter or word the programs stop. without press ctrl+break.????