blob: 09c8633114b3217468688d2ae23194053f3e0007 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include <iostream>
#include <string>
int main (int argc, char const *argv[])
{
std::string str = "Hello world";
std::cout << str << std::endl;
std::cout << str.c_str() << std::endl;
#if 0
print str
print str.c_str()
#endif
return 0; // Please test these expressions while stopped at this line:
}
|