Link to home
Start Free TrialLog in
Avatar of xardious
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?
Avatar of r_a_j_e_s_h
r_a_j_e_s_h

u should know the base file format of the export format.... then  u can use filestream to export to that format...
Avatar of xardious

ASKER

Do you have any code examples of how it is done?
ASKER CERTIFIED SOLUTION
Avatar of Kyle Abrahams, PMP
Kyle Abrahams, PMP
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
#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();