int main(){ string s; ifstream in("1.txt"); char ch; ofstream out("2.txt"); while(getline(in,s)) { cout<<s<<endl; out<<s; /**the result put in 2.txt make all lines into one line, still don't know how to make third line become second line,forth and fifth.... into secondline until meet line with </>, and the system run again after linewith </>,i might get the result later, i have learnt C++ for around one week, since i got a program able to convert other dict form into the form like the one i show, but i want to change the form into what i need.and suit for my other dictionary txt form. **/ cin.get();

}

}

i am not good enough to learn xml and ini type. i just want to make it simple and get the the project to succeed.

if anyone get it, pls let me know. thanks alot telling me the info, even though i can't learn it yet.