I had to use:
<iostream>
instead of
iostream
thx for all the replies.
Type: Posts; User: Viperz0r
I had to use:
<iostream>
instead of
iostream
thx for all the replies.
The error line is:
'cout' undeclared (first use this function).
This is the hole code:
#include iostream
using namespace std;
Still doesnt work, look at my post again. The program (dev-C++) makes an error at this line, and i really can't see whats wrong. I tried adding \n in the end, but that doesnt help.
...
Hmm.. It's still not working, the program says there is something wrong with this line:
cout<<"Please input your age: ";
I tried to fix by adding \n, but it's still not working.
Here's...
Hey all.
I'm new to programming, and im currently at lesson 2 about If statements. I used the example given in the thread, and tried to create one very similar, but it's not made correctly.
...