23 Jul
2004
23 Jul
'04
7:14 a.m.
Vladimir Prus wrote:
I'm probably missing something very basic, but you can open fstream using the filename. After all, CreateFile made sure that file did not exist before and created the new one for your use. Now, you can safely open it by name.
No, I was missing something. I hadn't thought of this. I was only trying to do it in one go. Thanks for the suggestion. Russell