Help for this page

Select Code to Download


  1. or download this
    class A {
      int ma;
    ...
    
      A::A() : ma(666) {}
    };
    
  2. or download this
    #include "iostream"
    #define class struct
    ...
      std::cerr << a.ma << "\n";
      a.printit();
    }
    
  3. or download this
    #include "iostream"
    #include "toto.h"
    ...
    A::printit() {
      std::cerr << ma << "\n";
    }
    
  4. or download this
    $ g++ -c toto1.cc -o toto1.o
    $ g++ -c toto2.cc -o toto2.o
    ...
    666
    666
    $