I am having difficulty understanding how to represent general trees using a binary tree structure in a programming language such as c++. I would like to read a file in with an array representing a general tree structure and represent it as a binary tree structure and print the general tree and the converted binary tree. I would like help with an implementation in C++.
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
Windows XP, Microsoft Visual C++