Im using MSVC++ and after severly attempts at correcting mistakes it says "error C2001: newline in constant" or somethign like that, and unless I put a ; in front of all my couts it come up as an error. Why is that?
Thanks,
Gutty
Im using MSVC++ and after severly attempts at correcting mistakes it says "error C2001: newline in constant" or somethign like that, and unless I put a ; in front of all my couts it come up as an error. Why is that?
Thanks,
Gutty
It means you probably forgot to close a string literal:
Code:cout<<"Testing<<endl; cout<<"1..2..3.."<<endl;
My best code is written with the delete key.
Waoh that was really fast. You mean I didn't put ; at the end of each line? I do though, it says the ; has to be BEFORE the cout. Very weird.
Wait, I think i got it! Thanks alot man!