Posts

Showing posts from May, 2013

Essential Eclipse Shortcuts keys

File Navigation – Eclipse Shortcuts CTRL SHIFT R – Open a resource. You need not know the path and just part of the file name is enough. CTRL E – Open a file (editor) from within the list of all open files. CTRL PAGE UP or PAGE DOWN – Navigate to previous or next file from within the list of all open files. ALT <- or ALT -> – Go to previous or next edit positions from editor history list. Java Editing – Eclipse Shortcuts CTRL SPACE – Type assist CTRL SHIFT F – Format code. CTRL O – List all methods of the class and again CTRL O lists including inherited methods. CTRL SHIFT O – Organize imports. CTRL SHIFT U – Find reference in file. CTRL / – Comment a line. F3 – Go to the declaration of the variable. F4 – Show type hierarchy of on a class. CTRL T – Show inheritance tree of current token. SHIFT F2 – Show Javadoc for current element. ALT SHIFT Z – Enclose block in try-catch. General Editing – Eclipse Shortcuts F12 – Focus on current editor. CTRL L – Go to line number. CTRL D – Dele...

How to use Xerces Library to parse the XML file with Visual C++ Project

Image
The Apache project's Xerces-C libraries support the DOM approach to XML parsing. The entire XML file is imported into memory and the data is held as nodes in a data tree which can be traversed for information. The Xerces-C C++ parser home page:  http://xml.apache.org/xerces-c/ So download the latest version of  Xerces Library and place it into your project  folder. The Xerces Library folder contains the following files and folders inside it Shown in the picture . Now make a new project or open your current project and Right click your project and go to “project properties”. Now go to “VC++ directories” and then go to “Include directories” and give the path of the Xerces Library include folder as shown in the picture below. Now go to “VC++ directories” and then go to “Library directories” and give the path of the Xerces Library lib folder as shown in the picture below. Now go to “Linker” -> “Input” and then go to “Additional directories” and give the path of the Xerces ...