[ create a new paste ] login | about

Link: http://codepad.org/MKeFhr45    [ raw code | output | fork ]

kamarakay2000 - C++, pasted on Jun 3:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <string>
using std::string;
using std::cout;
using std:: endl;
int main()
{
    string Hello("Hello");
    Hello += "world";
    cout <<Hello<< endl;
    if(Hello ==" Hello word");
{
cout << "equal"<< endl;
}
return 0;
}


Output:
1
2
Helloworld
equal


Create a new paste based on this one


Comments: