#include #include #include #include #include #include using namespace std; using namespace boost; #if 0 void printproc() { string file("/proc/" + lexical_cast(getpid()) + "/maps"); ifstream in(file.c_str()); string tmp; while (!in.eof()) { getline(in, tmp); cout << tmp << endl; } } #endif int foo() { return 0; } int main(int argc, char **argv) { #if 0 int *foo = new int[static_cast(pow(2, 20))]; printproc(); cout << static_cast(foo) << endl; #endif cout << (void *)(&foo) << endl; } // kate: indent-mode cstyle; space-indent on; indent-width 4;