I have a project I'm working on but recently had to switch from c-free 3.5 to codeblocks. Which is no problem in itself, I really like codeblocks, but my project has logic errors when compiled under codeblocks that don't exist when compiled under c-free. It is my understanding that both codeblocks and c-free use the same compiler, mingw, and I've been told that my problem is likely one of default options in codeblocks. How can I change this?
Btw, the problem I am experiencing is this: I a global ofstream variable that opens but is not written to when compiled with codeblocks. When compiled with c-free the ofstream opens and is written to. Please help as I no longer have access to c-free and need to get it working with codeblocks. Thanks in advance!
Also if you know of any solutions as to why I'm having the problems with the ofstream please help with that too. I've done everything I can think of but it just doesn't want to work under codeblocks!