fork download
  1. void paint() {
  2.  
  3. while(true) {
  4.  
  5. check();//check feedback or selected
  6.  
  7. init();//init projection or modelview
  8.  
  9. draw();//draw object
  10.  
  11. }
  12.  
  13. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function ‘void paint()’:
prog.cpp:5: error: ‘check’ was not declared in this scope
prog.cpp:7: error: ‘init’ was not declared in this scope
prog.cpp:9: error: ‘draw’ was not declared in this scope
stdout
Standard output is empty