Hi.
I made the change from VB to VC few months ago. I want to append a result shown in a messagebox on a new line in a text file. MSDN confuses me on this topic, and the 3 books I've got isn't helping (VC++ in 21 days, VC++ for dummies and Learn VC++)

I'm using fopen("Optimlog.log", "a") but don't know how to send the string to the file and persist it.

Please help, as this rookie is drowning!