Writing XML file for C code

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gnanapoongothai
    New Member
    • Jun 2007
    • 62

    Writing XML file for C code

    Is there any way of writing a XML file for a c code and the data calculted by it. and the value get updated each time.I am working in vc++ in windows platform.
    Or any other software support to create XML files from a c program and its variables. Plz do reply within aweek as the project meeting its deadline.
  • Meetee
    Recognized Expert Contributor
    • Dec 2006
    • 928

    #2
    Originally posted by gnanapoongothai
    Is there any way of writing a XML file for a c code and the data calculted by it. and the value get updated each time.I am working in vc++ in windows platform.
    Or any other software support to create XML files from a c program and its variables. Plz do reply within aweek as the project meeting its deadline.
    You can refer TinyXML to meet your specifications. Here are some links.

    TinyXML is a simple, small, minimal, C++ XML parser that can be easily integrating into other programs. It reads XML and creates C++ objects…


    Kindly post your problem and efforts in detail so one can help you.

    Regards

    Comment

    • sicarie
      Recognized Expert Specialist
      • Nov 2006
      • 4677

      #3
      gnanapoongothai-

      As this is a separate question (and not any sort of clarification or comment on the OP's question), I'm putting this in it's own thread. Please do not thread hijack, and (while you are reading the Posting Guidelines), please also post what you have tried.

      Comment

      • gnanapoongothai
        New Member
        • Jun 2007
        • 62

        #4
        I tried with the /doc complier option in vc+=. But the result was XML documentation not supported for C. Thats why i specifically asked for c code. if i changed the language option then there are error in the grammer and others. so specific to c language is there any way of creating a XML files.

        Comment

        • oler1s
          Recognized Expert Contributor
          • Aug 2007
          • 671

          #5
          OP, you can either implement code that can read and write from XML files, or you can use a third party library. Several exist that can work with XML. One example of a third party library was given before. Many other libraries exist, that you can download and use in your code.

          Comment

          Working...