[ create a new paste ] login | about

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

C++, pasted on Nov 3:
1
2
3
4
5
6
7
8
#define PRINT_STRING(s) cout << (#s) << endl;

int main() {
    cout << "foo(\"hello\", \"world\", 5)" << endl;
        cout << "foo('hello', 'world', 5)" << endl;
    PRINT_STRING(foo("hello", "world", 5))
    return 0;
}


Output:
1
2
3
foo("hello", "world", 5)
foo('hello', 'world', 5)
foo("hello", "world", 5)


Create a new paste based on this one


Comments: