www.delorie.com/djgpp/bugs/show.cgi   search  
Bug 000364

When Created: 03/27/2004 11:57:51
Against DJGPP version: 2.03
By whom: anythingGoes@jordan.canadianwebs.com
Abstract: ios::nocreate mode for opening files missing
when i try to use the ios::nocreate mode for opening a file 
(i.e. fstream foo("foo.bar",ios::nocreate);  )
 it says their is no such mode. 
It works on Borland and VC++, why not on DJGPP??

Workaround added: 03/27/2004 12:09:05
By whom: anythingGoes@jordan.canadianwebs.com
fstream foo("foo.bar", ios::nocreate|ios::in);

  webmaster     delorie software   privacy  
  Copyright 2010   by DJ Delorie     Updated Jul 2010