|
Understudy.net/orgOk you have made it this far.You obviously must be bored and have nothing better to do with your life. |
|
My Archives: August 2004
Sunday, August 1, 2004
Do not buy this book. It is a waste of money. First and foremost. It leaves out everything you need to know about compilers. No compiling, no programming.
Second , the books lessons don't work. If you are using FreeBSD and g++ for a compilier give up now.
Here is the second program from the book:
#includeusing namespace std;
int main(int argc, char* argv[])
{
// Without "using" statement, this would be std::cout
cout << "Hi there!" << end1; // "end1" = next line
return 0;
}Well when you run the g++ compiler from your command prompt , you get this:
main.cpp: In function `int main(int, char **)':
main.cpp:8: `end1' undeclared (first use this function)
main.cpp:8: (Each undeclared identifier is reported only once
main.cpp:8: for each function it appears in.)Well that means it doesn't work. This is the second lesson in the book. It is so nice to know that the editors don't actually proof check their work.
Save your money.
Posted by understudy @ 09:31 PM EST [Link]