[ create a new paste ] login | about

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

C++, pasted on Oct 1:
1
2
3
4
5
struct MyStruct { MyStruct() { cout << "Hello" << endl; } };

int main() {
  MyStruct ();
}


Output:
1
Hello


Create a new paste based on this one


Comments: