fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. while(5){
  6. cout<<5<<endl;
  7. a++;
  8. }
  9. return 0;
  10. }
Compilation error #stdin compilation error #stdout 0s 4396KB
stdin
Standard input is empty
compilation info
prog.cpp: In function ‘int main()’:
prog.cpp:7:3: error: ‘a’ was not declared in this scope
   a++;
   ^
stdout
Standard output is empty