I need to create an output object and associate it with a string...
For instance:
string F2("\\\\Network\\path\\directory\\file.txt"
;
ofstream fout(F2);
I need string because I build/concat the path dynamically, but I get an error on the second line above.
(cannot convert blah blah blah to const char *)
anyone know how I can do this?
Rookie-ly,
Marc
For instance:
string F2("\\\\Network\\path\\directory\\file.txt"
ofstream fout(F2);
I need string because I build/concat the path dynamically, but I get an error on the second line above.
(cannot convert blah blah blah to const char *)
anyone know how I can do this?
Rookie-ly,
Marc