I'm very new to C++ and I keep getting a parse error for the bolded line below. I'm not understand why this is.
#include using namespace std; int main() { int a; cout<<"\nPlease make me easier to read..."; a=2+2 cout<<"\nLook what I can do:2+2" < cout<<"\nIcan do more, but only if you will help..."; cout<<"\n Thanks a lot\n"; return 0; }
this is the c# forum. try the c++ forum
Your error is that you do not have a semicolon after 'a=2+2'
C++ ignores whitespace and all statements must end with a semicolon