[ create a new paste ] login | about

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

C++, pasted on Jul 28:
1
2
3
4
5
6
7
8
9
10
11
12
#include <iostream>
#include <string>
std::string f()
{
    return "hello world";
}
int main()
{
   string test = f();
   std::cout << test;
   return 0;
}


Output:
1
hello world


Create a new paste based on this one


Comments: