Category Archives: Implementation Hacks

Visual Studio: Parsing XML files

Using System.XML package

Two steps:
1) in the .cpp file, add #using <System.XML.dll>, then using namespace System::XML
2) Add path of System.XML.DLL, e.g., ..\..\..\..\Windows\Microsoft.NET\Framework\v2.0.50727, to /Project/Property Pages/C/C++/General/Resolve #using References

Advertisements

Visual Studio: Debugging .cpps files

Four steps:
1. open Windows cmd
2. set environment by typing vcvars32
3. cl /Zi hello.cpp
4. open visual studio, menu open project, open hello.exe