Guest User

Untitled

a guest
Jan 17th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. std::ifstream my_file("padimage.png");
  2. if (my_file.good())
  3. {
  4. std::cout << "could read file n";
  5. } else {
  6. std::cout << "could not read file n";
  7. }
  8.  
  9. char wd[1024];
  10. std::cout << getcwd(wd, sizeof(wd)) << std::endl;
  11.  
  12. ./padimage.png
  13.  
  14. ./ProjectName.app/Contents/Resources/padimage.png
Add Comment
Please, Sign In to add comment