Easy Question

closed account (9wX36Up4)
I m standing in front of computer for hours. Maybe i should take some air. I don't know but i m making a mistake here and i can't find it despite it is a very easy question. Ok the question is:
1
2
3
4
for(n=9;n>0;n--;){
         cout<<"\b\b"<<setfill('0')<<setw(2)<<n;
         Sleep(1000);
    }

Maybe the mistake is not here i have pass out
Last edited on
Line 1?
for(n=9;n>0;n--;){

Take out the ;
for(n=9;n>0;n--){

Not sure what you're asking though.
closed account (9wX36Up4)
Because i don't know english well and a little pass out i can't write well here what my problem is. The compiler is giving mistake and i couldn't find what the mistake is. And i have been working for hours in front of computer. PLS help me finding what the error is and where did i made mistake

and Lynx876 i changed that thanks but it still gives errors
What errors are you getting? Copy and paste them here.
Topic archived. No new replies allowed.