daily pastebin goal
59%
SHARE
TWEET

Untitled

a guest Aug 15th, 2018 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Does fstream open have trouble with larger files?
  2. fstream f;
  3. f.open("/usr/share/dict/words");
  4.  
  5. // why is this returning false?
  6. bool open = f.is_open();
  7.    
  8. f.open("/usr/share/dict/words", fstream::in);
  9.    
  10. void open (const char *filename,
  11.         ios_base::openmode mode = ios_base::in | ios_base::out );
  12.    
  13. f.open("/usr/share/dict/words", ios_base::in);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top