fork(4) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. #define myPI 3.1415
  5.  
  6. int main() {
  7. // your code goes here
  8. int myPI = 0;
  9.  
  10. return 0;
  11. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function 'int main()':
prog.cpp:4:14: error: expected unqualified-id before numeric constant
 #define myPI 3.1415
              ^
prog.cpp:8:6: note: in expansion of macro 'myPI'
  int myPI = 0;
      ^
stdout
Standard output is empty