Skip to main content
GameDev.net gamedev.net
🔒 Locked

Need some help with c++ for dummies

Started by Dragoro Mar 13, 2007 at 5:34 PM 2 replies 1.3k views
Original Post
Dragoro
Dragoro
Cant believe Im stuck right at the begining, how embarrassing. It has me using the programd Dev-C++ by bloodshed It asks me to put in this line: cout << "Hello, I am your computer talking." << end1; But when i try and compile it, get error saying end1 is undefined. Does that line look wrong?
"And somewhere at the bottom he fell into darkness. That much he knew. He had fallen into darkness. And at the instant he knew, he ceased to know" Martin Eden, Jack London.
Driv3MeFar
Driv3MeFar
endl, with a lowercase "L" (as in endline), not end1.
MadsGustaf
MadsGustaf
it is << endl
with a "L", not a "1". As in "End Line"
1/i/l(L) looks very similair in books :) so watch out!
•°”˜˜”°•.˜”°•..•°”˜.•°”˜˜”°•..•°”˜˜”°•.˜”°•.˜”°•. Mads .•°”˜.•°”˜.•°”˜˜”°•.˜”°•..•°”˜.•°”˜.•°”˜ ˜”°•.˜”°•.˜”°•..•°”˜I am going to live forever... or die trying!
Dragoro
Dragoro
LOL it figures it would be something so simple. Makes me feel even more foolish. Thanks alot guys!
"And somewhere at the bottom he fell into darkness. That much he knew. He had fallen into darkness. And at the instant he knew, he ceased to know" Martin Eden, Jack London.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.