fork download
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. int x;
  8.  
  9. x = 0;
  10. do {
  11. // "Hello, world!" is printed at least one time
  12. // even though the condition is false
  13. cout<<"Hello, world!\n";
  14. } while ( x != 0 );
  15. cin.get();
  16. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
iostream
compilation info
prog.c:1:20: fatal error: iostream: No such file or directory
 #include <iostream>
                    ^
compilation terminated.
stdout
Standard output is empty