Help for this page
class A { int ma; ... A::A() : ma(666) {} };
#include "iostream" #define class struct ... std::cerr << a.ma << "\n"; a.printit(); }
#include "iostream" #include "toto.h" ... A::printit() { std::cerr << ma << "\n"; }
$ g++ -c toto1.cc -o toto1.o $ g++ -c toto2.cc -o toto2.o ... 666 666 $
www.com | www.net | www.org
No recent polls found