I jsut started to learn C++, i alrady know Java and that really helped but i started making a little counting app and it prints out what look to be completly random numbers like this:
http://img207.echo.cx/img207/9397/untitled3jy.png
what am I doing wrong? Here is the code for the count segment of my app:
Code:else if (cho=="COU" || cho=="cou" || cho=="Cou"){ cout<<"Enter a number to count to: "; cin>> c_num; cin.ignore(); do{ x=0; cout<<x; x++; } while(x != c_num); }



LinkBack URL
About LinkBacks


