fork download
  1. class A;
  2.  
  3. int main()
  4. {
  5. A a;
  6. }
  7.  
  8. class A {
  9.  
  10. // Definition der Klasse A
  11.  
  12. };
  13.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function ‘int main()’:
prog.cpp:5: error: aggregate ‘A a’ has incomplete type and cannot be defined
prog.cpp:5: warning: unused variable ‘a’
stdout
Standard output is empty