0_0_28113869_24694.cpp:7:29: error: stray '#' in program
{ std::cout << "Sizeof " << #x << " is " << (sizeof(x) / 1024 / 1024) << " MB" << " (" << sizeof(x) / 1024 << " KB)" << endl;
^
0_0_28113869_24694.cpp: In function 'int main()':
0_0_28113869_24694.cpp:7:30: error: 'x' was not declared in this scope
{ std::cout << "Sizeof " << #x << " is " << (sizeof(x) / 1024 / 1024) << " MB" << " (" << sizeof(x) / 1024 << " KB)" << endl;
^
|