No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
im creating a program that tests the functionality of template classes for my c++ class but i keep getting this error at the overloaded << and >> functions when i try to test the class using a double can someone help me out MyData.h [code] #include<iostream> using namespace std; #include … |
|
I am trying to make my program print out the contents of a vector containing objects of class type Checking i want it to print the balance of each element in the vector but when i try to use [CODE]cout<<checking[1][/CODE] all i get is nonsense characters here is what i … |
|
Im trying to make a program that has a base class Account and a class ,Savings , that inherits from it. however i keep getting an error that says expected class name before { token and it shows it where i wrote [CODE]class Savings : public account { [/CODE] there … |
|
I am doing a project for school that requires me to make a program that asks the user to enter a date by selecting two options for the format 1.MM/DD/YY (in numbers) 2.Month ,DD, YY (with the name of the month entered) both options should then display the date in … |
|
this program is supposed to take in sales figures in dollars, convert them into a salary for the salesmen, and then display the number of salaries that fall within certain ranges (200-299 ect.) However i keep getting incorrect results no matter what i enter i keep getting 11 for the … |
|
I keep getting a error that says invalid conversion from int to int here is my code sales report.h [CODE] #ifndef SALESREPORT_H #define SALESREPORT_H // No description class SalesReport { public: // class constructor SalesReport(int[]); int Salary(int[]); void DisplaySalary(int[]); }; #endif // SALESREPORT_H [/CODE] sales report.cpp [CODE] // Class automatically … |
|
I need help with a program that is supposed to take data on football players from a txt file and place them in a binary search tree then use case statements to t osearch the tree inorder, preorder and postorder recursively here's what i got so far [CODE] /* Bradley … |
|
I am doing a project where i have to insert a list of players and stats into a binary search tree Here is the project description For this final assignment, you will be creating a binary search tree. You will be able to utilize some of your previous assignment code, … |
|
I am making a program that reads football player stats from a file and places it in an array how ever my program seems to over read the file which has the stats of 17 players and it makes an array of 101 players with the first 17 being alright … |