My program is mostly written, but won't compile for various reasons, and may not work properly when it does compile.
The assignment:
Write a program with the specified input and output.
1. Given an equation x1 + x2 + ... + xn = C, where C is a constant, and x1, x2, ..., xn are non-negative integers, list all the solutions.
2. Given an equation x1 + x2 + ... + xn = C, where C is a constant, and x1 <= 1, x2 <= 3, x3 <= 3, ..., xn <=n, list all the solutions.
As I've said, I have most of the code written, perhaps wrongly. And it won't yet compile. The program will have to be debugged, and then verified that the formulas are correct.
This text description and a screen shot of how the output should look are attached in a zipped Word document.
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) 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).
## Platform
I am working on a C++ Win32 console application, using MS Visual C++ 6.0.