L
Luther Baker
Hi,
Which ios_base flags does one use to open an fstream for
std::ios:
ut | std::ios::in | (create if necessary)
I do NOT necessarily want to truncate or append to the file.
I realize I can do it in two steps by checking the state of the file
stream after trying to open it, but I wanted to be sure I was not
missing a flag like O_RDWR | O_CREAT.
Thanks,
-Luther
Which ios_base flags does one use to open an fstream for
std::ios:
I do NOT necessarily want to truncate or append to the file.
I realize I can do it in two steps by checking the state of the file
stream after trying to open it, but I wanted to be sure I was not
missing a flag like O_RDWR | O_CREAT.
Thanks,
-Luther