fork download
  1. struct A {
  2. A(){}
  3. A(const A& src){}
  4. };
  5.  
  6. struct B : A {
  7. B():A(){}
  8. B(const B& src):A(src){}
  9. };
  10.  
  11. struct C : B {
  12. C():B(){}
  13. C(const C& src):B(src){}
  14. };
  15.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
stdout
Standard output is empty