i was wondering if it was possible to do this?
to be macroed toCode:#define print_code(line) line cout << quote line quote << endl; #define quote " print_code(true;)
how could i do this? just curiouseCode:true; cout << "true;" << endl;
thanks
UPDATE SOLVED
Code:#define print_code(line) line cout << #line << endl;





Reply With Quote