A Hello World Problem

I am writing the simple hello world program using the following code and encountered the following problem

1
2
3
4
5
6
  # include<iostream>
int main()
{
	std::cout << "Hello World" << std::end1 ;
	return 0;
}


In error message it is said that 'end1' is not a member of 'std'

However if I write this then everything is ok.

1
2
3
4
5
6
  # include<iostream>
int main()
{
	std::cout << "Hello World" ;
	return 0;
}


So what is the problem. Please help.
I am using Dev C++ 5.4.1 as my compiler on Windows 7 64 bit.
You should type the letter L (l) instead of the number 1.

so
endl
instead of
end1
You are God to me. Thank you a lot. I read this from a book and read it as 1 instead of l . Thank you for pointing out the mistake.
Topic archived. No new replies allowed.