Find Jobs
Hire Freelancers

C++ Assignment

$30-250 USD

Terminado
Publicado hace más de 9 años

$30-250 USD

Pagado a la entrega
This project builds directly off of an older project that is provided. The older assignment parses the element names in an XML file. This assignment creates Element objects for each of them, and detects where XML elements begin and end, you are to extend your Element class so that it includes a vector of its own that holds all of that element’s children. The structure will “sort of” be recursive. I say “sort of” because it does not necessarily have to be recursive in the true sense of the word, but Element objects will contain structures that consist of other Element objects, or at least pointers to them. Note that this type of structure is what allows menus to have submenus in graphical user interfaces. The second part of this assignment *requires* you to document your code using Javadoc and to process it with Doxygen. We will cover the issues and procedures required to accomplish this in class. WHAT TO DO FOR THIS ASSIGNMENT: 1) Expand your Element class to include a data structure that can hold a list of pointers to other Element objects. This list will be used to hold the element’s children. 2) Further expand your Element class to include a data structure that will hold attribute names and their corresponding values. The best way to do this is to create a Attribute class, and then treat attributes as children of the element on which they are found. 3) Modify the program you wrote for Assignment No. 3 to create a tree of Element objects and their attributes as it parses your XML file. The tree must accurately represent the structure of your XML file, with each element containing a list of pointers to its children. 4) Take a look at the partial, samply output result supplied for this assignment and make sure you understand what it shows. 5) Write a function to display the XML structure you found after you have finished building it. This function should do indenting or use some other technique to clearly show the hierarchal structure of your XML file. Explore the use of stream manipulators to do this. These are very useful for formatting output. Output stream manipulators are covered in sections 15.6 and 15.7 of C++ How To Program by Deitel & Deitel (8th edition), pages 606-620. They are also covered at [login to view URL] and [login to view URL] 6) As you develop your program, write all your documentation using the Javadoc standard. In addition, go back and convert all the documentation you wrote for the parts of your program that you are reusing from previous assignments to the Javadoc standard. This is not difficult if you are skilled in using NetBeans’s built-in editor. Remember the trick of opening a blank line immediately above each function definition and then typing /** and pressing the Enter key to have NetBeans generate the Javadoc documentation block for you, including entries for all of your parameters and return type. For example: /** * * @param strLine * @param strElementName * @param strContent * @param nStartPos * @param nEndPos * @param currentState * @return */ ParserState GetXMLData( string strLine, string& strElementName, string& strContent, int nStartPos, int& nEndPos, ParserState currentState ) { ... Then all you have to do is to write the general documentation for the function just after the /**, complete each @param line by stating how each parameter is used, and complete the @return line by stating what the function returns. 7) Generate the documentation for your project using Doxygen and store that in a Doxygen subfolder of your main project folder. Important Note: *ALL* classes and class data and method members (class variables and functions) must be documented using Doxygen and show up on the HTML page generated by Doxygen. A partial sample of one possible output is also attached.
ID del proyecto: 6680628

Información sobre el proyecto

2 propuestas
Proyecto remoto
Activo hace 9 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
I am very proficient in c, c++. I have 15 years c++ developing experience now, and I have worked for 5 years. My work is online game developing, and mainly focus on server side, the language is c++ under linux. I used c++ to make many great projects, for example, I made the tools which can convert java files to c++ scripts which has the same effect, of course garbage collection included. I also made our own mobile game using c++, I even can show you the demo of client. Trust me, please let expert help you.
$147 USD en 2 días
4,7 (26 comentarios)
5,2
5,2
2 freelancers están ofertando un promedio de $151 USD por este trabajo
Avatar del usuario
Hello! I am a computer science student and I can help you out with your work. I am skilled in C/C++ and if you want good work, you can contact me. I can also lower the bid.
$155 USD en 2 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
Lowell, United States
5,0
2
Forma de pago verificada
Miembro desde oct 22, 2014

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.