Find Jobs
Hire Freelancers

C++ Assignment

$30-250 USD

完了済み
投稿日: 9年以上前

$30-250 USD

完了時にお支払い
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: 6680628

プロジェクトについて

2個の提案
リモートプロジェクト
アクティブ 9年前

お金を稼ぎたいですか?

Freelancerで入札する利点

予算と期間を設定してください
仕事で報酬を得る
提案をご説明ください
登録して仕事に入札するのは無料です
アワード者:
ユーザーアバター
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 2日以内
4.7 (26 レビュー)
5.2
5.2
この仕事に2人のフリーランサーが、平均$151 USDで入札しています
ユーザーアバター
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 2日以内
0.0 (0 レビュー)
0.0
0.0

クライアントについて

UNITED STATESのフラグ
Lowell, United States
5.0
2
お支払い方法確認済み
メンバー登録日:10月 22, 2014

クライアント確認

ありがとうございます!無料クレジットを受け取るリンクをメールしました。
メールを送信中に問題が発生しました。もう一度お試しください。
登録ユーザー 投稿された仕事の合計
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
プレビューを読み込み中
位置情報へのアクセスが許可されました。
あなたのログインセッションの有効期限がきれ、ログアウトされました。もう一度ログインしてください。