xardious
asked on
Export Engine
I need to know how you go about having a program export to a text or another format. I am currently working on an assignment trying to create a small resume prog that will export to a text file or XML. Anyone hoave any examples on how to perform that function?
u should know the base file format of the export format.... then u can use filestream to export to that format...
ASKER
Do you have any code examples of how it is done?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
#include <fstream>
std::ofstream databaselist("databaselist .txt");
databaselist<<"database list of test"<<std::endl;
for(int i=0;i<3;i++)
databaselist<<i<<std::endl ;
databaselist.close();
std::ofstream databaselist("databaselist
databaselist<<"database list of test"<<std::endl;
for(int i=0;i<3;i++)
databaselist<<i<<std::endl
databaselist.close();