You know that is C, right? In C++ you're supposed to use ?fstream.Code:FILE* out = fopen("h:\\gui\\selsub.txt", "w");
You know that is C, right? In C++ you're supposed to use ?fstream.Code:FILE* out = fopen("h:\\gui\\selsub.txt", "w");
dwk
Seek and ye shall find. quaere et invenies.
"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell
Other boards: DaniWeb, TPS
Unofficial Wiki FAQ: cpwiki.sf.net
My website: http://dwks.theprogrammingsite.com/
Projects: codeform, xuni, atlantis, nort, etc.
You know that the better part of C is also C++, right?You know that is C, right?
Not really, it's just encouraged. There's nothing wrong with using C style I/O if it works for you.In C++ you're supposed to use ?fstream.
Just because I don't care doesn't mean I don't understand.