ty
ty for help me
Last edited on
zaquiel wrote: |
---|
i have syntax error : '}' |
No, you don't:
http://ideone.com/ud6XPHprog.cpp: In function ‘int main()’:
prog.cpp:61:1: error: expected ‘while’ before ‘}’ token
}
^ |
On line 14 you have
do
but the closing brace for this do-while loop is on line 60 and you put the
while
on line 58.
Use proper indentation and you will not have this confusing problem again.
Last edited on
thanks dude, i really appreciate it thanks so much!! :D
Topic archived. No new replies allowed.