• Coding
  • Saving to XML document in C

Hey :)

So i have this project and I'm not sure what the prof. wants exactly , and I can't see her till tuesday so can anybody take a guess ?

She said that we should write a function that saves the project(dictionary) into xml file like :
<dictionary><b><a><l><l><meaning><a round object blah blah blah></meaning> wa hakaza dawalayk

Now I'v looked around the internet and noticed it could be done in C# easily(I dont know how) but this course is C, so did she mean I have to print to the file <dictionary> then print first letter like that <b> then the next and so on or she probably meant something faster(in that case is it possible in C)? cuz i dont wana be wasting time doin somethin stupid :/
Thanks
Yeah so I dont have to learn xml i can just write a text that looks like xml using fopen ?
avril wroteYeah so I dont have to learn xml i can just write a text that looks like xml using fopen ?
Yes. XML is a string...