Should I post more of my code?
Type: Posts; User: mrmodest
Should I post more of my code?
My - and + work fine,
bag operator +(const bag& b1, const bag& b2){
bag answer;
answer += b1;
answer += b2;
return answer;
bool bag::erase_one(const value_type& target){
node *target_ptr;
target_ptr = list_search(head_ptr, target);
if (target_ptr == NULL)
return false; // target isn't in the...
so in main I have,
else if(user_input == 10){
x -= y;
}
else if(user_input == 11){
y -= x;
}
This is what I have now;
Still wrong but closer...
if I output my averages from inside calculate they come out right, but I have to output them from the output function which gives me a wrong...
Alright guys so I have some homework due tomorrow and I am having trouble with my output function, I could do it this way but its going to be ridiculously long. I have to read from an input file and...