1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
class SomeClass { public: SomeClass() { x1 = new char[ 1024 ]; x2 = new char[ 1024 * 1024 ]; } private: char *x1; char *x2; };
1 2
In function `_start': undefined reference to `main'