Very basic question

Hi, I'm brand new to programming. I'm learning from a book entitled Beginning C++ Through Game Programming. My first program is essentially a "Hello World" application. One of the lines of code i'm instructed to use is
cout << "Game Over << end1; end1 is supposedly used to create a line break, but when I go to compile it says that end1 is undeclared. Can anyone help me with this? thanks
That's because it's endl with a lowercase "L", not end1 with the number 1. Oops. :P

-Albatross
hahah wow o.o Not a fan of this books font. Thanks!
If you really want a good start, try Thinking in CPP volume 1. Games are fun to make, however, you should start with the basics. Believe me, the sense of accomplishment is awesome just writing a simple(read: small) working program.

http://www.lazyfoo.net/SDL_tutorials/

you can browse the site to write a game program.
Topic archived. No new replies allowed.