hello my friends
can someone locate what have i done wrong ?
1 2 3 4 5 6 7 8 9 10 11 12 13
|
// forth2
#include <iostream>
#include <string>
using namespace std;
int main()
{ string matestring;
matestring="asd";
cout << matestring << end1;
matestring="hi";
cout << matestring << end1;
return 0;
}
|
It's endl not end1
What makes you think there is something wrong?
Perhaps you have misspelled "endl"?
Oh , you are right . thanks a lot guys!!
Topic archived. No new replies allowed.