Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

GOD DAMNIT

Name: Anonymous 2007-08-17 19:28 ID:mFw/616K

I believe I copied this code verbatim from my C++ book. I get "undeclared identifier" errors on lines 6 and 8. I will never learn the basic if this book has shitty code.

Please tell me whether I am idiot, Visual C++ sucks, or I need to throw this book in the garbage:

#include <iostream>
int main()
{
  int x = 5;
  int y = 7;
  std::cout << endl;
  std::cout << x + y << " " << x * y;
  std::cout << end;
  return 0;
}

Name: Anonymous 2007-08-18 3:22 ID:Llyy6Fop

>>11
is a pretty good book if you know another language, or the basics of c++.  thier teach yourself in 24 is better to get you started, then go get a good book, like http://en.wikipedia.org/wiki/The_C%2B%2B_Programming_Language or http://en.wikipedia.org/wiki/K&R

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List