No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I'm having an issue that so that Book A and Book B's Author and Title will print at the end of the program. So This will verify that the overloaded = is functioning. #include <iostream> using namespace std; class Book { public: Book(char*, char*); private: char* title; char* author; public: … |
|
Create a program which will create a Hero's Inventory. The program should take the user input (a number) and put that item into the inventory (for example, if the user enters 1. Sword, the program should insert the string "Sword" into the inventory). You will need to add a loop … |
|
Modify the original Hero's Inventory I assignment to allow the user to create an inventory which not only holds the name of the objects obtained, but their point values as well. You will do this using a single structure, so that string names and numeric point values may be housed … |
|
I need a little help, I'm still new to the C++ stuff and this is for my class. Any help anyone could give me would be great. the code I have is as follows: ____________________________________________________________________________ [code] #include <iostream> using namespace std; int find_fib(int); int main(int argc, char* argv[]) { int … |
|
I need some help trying to figure out the void statements for my project and also getting this second program Factorial Program without recursion to work right. [code=cplusplus] #include <iostream> #include "PROJECT_13_1_H.h" using namespace std; int main() { bool houseHasBigAce = false; srand(time(0)); int houseHand = drawOpenHouseCard(houseHasBigAce); cout<<endl<<endl; cout<<"Welcome to … |