hello my friends

Jan 29, 2018 at 10:01pm
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;
}
  
Jan 29, 2018 at 10:15pm
It's endl not end1
Jan 29, 2018 at 10:16pm
What makes you think there is something wrong?

Perhaps you have misspelled "endl"?

Jan 30, 2018 at 8:37am
Oh , you are right . thanks a lot guys!!
Topic archived. No new replies allowed.