why this is not working?Code:ofstream out;
out.open ( c:\\mydir\\Data );
out<< "teste";
Printable View
why this is not working?Code:ofstream out;
out.open ( c:\\mydir\\Data );
out<< "teste";
try this
btw:Code:
ofstream getoutofhere ( c:\\mydir\\data );
getoutofhere << " teste";
"TESTE" ??? u speak portuguese or spanish ??? ( im portuguese and teste is a portuguese word =) ) *just wondering*
hehehe xD eu falo portugues sim ^^ dae mw blz? tu tem msn?
didn't your compiler generate several errors on the out.open(...) line? you have to enclose the filename in double quotes
Code:out.open ( "c:\\mydir\\Data" );
ok thanks ^^