fork download
  1. #include <iostream>
  2. #include <cstdlib>
  3. #include <string>
  4.  
  5. using namespace std;
  6.  
  7. int main() {
  8. // your code goes here
  9. std::string m_fileName = "whatever.bin";
  10. FILE * file = fopen(m_fileName.c_str(), "rb");
  11. if ( file )
  12. fclose(file);
  13. return 0;
  14. }
Success #stdin #stdout 0s 3268KB
stdin
Standard input is empty
stdout
Standard output is empty