fork download
  1. #ifndef classselection_hpp
  2. #define classselection_hpp
  3. #include <string>
  4. using namespace std;
  5.  
  6. #include <stdio.h>
  7.  
  8. class cs{
  9.  
  10. public:
  11. cs();
  12. void csf();
  13.  
  14.  
  15. private:
  16. int nc;
  17. friend class ss;
  18.  
  19. string c;
  20.  
  21.  
  22.  
  23. string name;
  24. };
  25.  
  26.  
  27.  
  28. #endif
  29.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
/usr/bin/../lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/crt1.o: In function `_start':
/build/glibc-5CYv_T/glibc-2.19/csu/../sysdeps/i386/start.S:111: undefined reference to `main'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
stdout
Standard output is empty