Search:

Type: Posts; User: mrmodest

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    4,335

    Should I post more of my code?

    Should I post more of my code?
  2. Replies
    5
    Views
    4,335

    My - and + work fine, bag operator +(const...

    My - and + work fine,



    bag operator +(const bag& b1, const bag& b2){
    bag answer;

    answer += b1;
    answer += b2;
    return answer;
  3. Replies
    5
    Views
    4,335

    bool bag::erase_one(const value_type& target){ ...

    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...
  4. Replies
    5
    Views
    4,335

    linked list -= operator overloading

    so in main I have,


    else if(user_input == 10){
    x -= y;
    }
    else if(user_input == 11){
    y -= x;
    }
  5. Replies
    3
    Views
    908

    what I have now

    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...
  6. Replies
    3
    Views
    908

    passing arrays must be an easier way?

    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...
Results 1 to 6 of 6