howcome this doesnt work

i am currently following a c++ tutorial and it has all been fine until now when i put in

// my first string
#include <iostream>
#include <string>
using namespace std;

int main ()
{
string mystring;
mystring = "This is the initial string content";
cout << mystring << end1;
mystring = "This is a different string content";
cout << mystring << end1;
return 0;
}

it says that end1 is an undeclared variable in debug, i have compared it to the tutorial page one and it is exactly the same yet when i copy and paste it from the tutorial it works fine
thanks for any answers in advance
endl not end1
ahhh :D thanks i feel stupid now xD
Topic archived. No new replies allowed.