My main problem with learning something without a teacher is that I cannot ask a lot of questions, which I'm sure will be answered later on in the online book I found...
(I added it, just incase you guys think that's a bad place to start. )
Okay I honestly do not understand what errors I'm making when I'm following the instructions completely to the ++
the book wants me to do this..
1: #include <iostream.h>
2: int main()
4: int x = 5;
5: int y = 7;
6: cout "\n";
7: cout << x + y << " " << x * y;
8: cout "\n";
When I type it in though and try to compile I get an error and..
7 C:\Documents and Settings\math solution.cpp `cout' undeclared (first use this function)
(Each undeclared identifier is reported only once for each function it appears in.)
7 C:\Documents and Settings\math solution.cpp expected `;' before string constant
9 C:\Documents and Settings\math solution.cpp expected `;' before string constant
C:\Documents and Settings\Makefile.win [Build Error] ["math solution.o"] Error 1
if it helps here a screen shot too.. lol yes I'm obsessed but I'm also obsessed with learning c++!
Now I think the main problem is because of the compiler I'm using, it may be too sophisticated for me to begin with, but then again it could be something else..
if you guys can help..