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