Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. Obtainting XML from C++

Obtainting XML from C++

Scheduled Pinned Locked Moved C#
c++csharpdesignxml
2 Posts 2 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rahulmballal
    wrote on last edited by
    #1

    I am working on a reverse or re-engineering project that requires me to parse the C++ code completely into tokens. I can go the lex yacc way but it will not suit the time frame I have. I decided to to go for a XML extension of GCC called the GCC_XML available www.gccxml.org. i want to use this tool from a Windows C# based application and then detect design patterns from the paresed C++ file that has been converted to XML. How do I use the GCCxml in my C# application if the command line syntax to obtain the XML from C++ file is gccxml foo.cpp --fxml= foo.xml Assume I want to have a front end to this gccxml compiler.

    S 1 Reply Last reply
    0
    • R rahulmballal

      I am working on a reverse or re-engineering project that requires me to parse the C++ code completely into tokens. I can go the lex yacc way but it will not suit the time frame I have. I decided to to go for a XML extension of GCC called the GCC_XML available www.gccxml.org. i want to use this tool from a Windows C# based application and then detect design patterns from the paresed C++ file that has been converted to XML. How do I use the GCCxml in my C# application if the command line syntax to obtain the XML from C++ file is gccxml foo.cpp --fxml= foo.xml Assume I want to have a front end to this gccxml compiler.

      S Offline
      S Offline
      Stefan Troschuetz
      wrote on last edited by
      #2

      Take a look at the Process class especially the Start method.


      "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

      www.troschuetz.de

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups