Forum: General Programming
22-01-2009
|
Replies: 5
Views: 8,656
Re: ofstream is not writing!!
Problem solved(?)...
If I use a <<std::endl; on the end of the writing, it flushes and write to file.
I'ts not a solution, but it's helping...
|
Forum: General Programming
19-01-2009
|
Replies: 5
Views: 8,656
Re: ofstream is not writing!!
I changed my code here as DrEvil said:
DatabaseHelper::write.open(destination.c_str(), std::fstream::app | std::fstream::out);and here to try to find out why it's not working:
if...
|
Forum: General Programming
15-01-2009
|
Replies: 5
Views: 8,656
ofstream is not writing!!
Guys, i'm having trouble with my code... I just can't find any mistake, and this is freaking me out! It should open a file used as a Database, to write data in binary mode... But it does not write......
|