Hello there, do any of you here know any interface that will write to a file in MFC like the ofstream. thanks :)

use CFile class in combination with CArchive. But for normal c++ file i/o stuff the ofstream class is a lot easier to use.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.