fork(1) download
  1. #include <iostream>
  2. #include <string>
  3.  
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8. string filePath = __FILE__;
  9.  
  10. cout << filePath;
  11.  
  12. cin.get();
  13.  
  14. return 0;
  15. }
  16.  
Success #stdin #stdout 0s 5296KB
stdin
Standard input is empty
stdout
prog.cpp