#include <iostream.h>
#include <stdlib.h>
#include <conio.h>
int main()
{
int num2;
cin >> num2;
{
for(int num2;num2<9999999;num2++)
{
cout<<num2<<endl;
}
return 0;
}
I took the source for a counter from the site tutorial, and then manipulated it so it would count higher, and the user chose the starting number. Why doesn't it work? My compiler won't execute it because of "parse error at end of input", but I can't find anything.



LinkBack URL
About LinkBacks


