Search:

Type: Posts; User: aperson

Search: Search took 0.00 seconds.

  1. no... the instructions state explicitly NOT to...

    no... the instructions state explicitly NOT to add the rationals. I just wanted to know how to write the addition like this so that i could figure everything else out. I think i have it now.
    ...
  2. it's ok. i got a friend at another school to...

    it's ok. i got a friend at another school to help me. I suppose the reason I sound so inept is because i'm a little stressed out by not being able to figure this out on my own. I'm only in my...
  3. Wait, what?

    Wait, what?
  4. Yes, ok. Well, does "very rarely" mean that it...

    Yes, ok. Well, does "very rarely" mean that it won't work, or does it mean that I've completely skated around the issue?

    And what do you mean "defined << for [my] class?" Isn't "<<" already...
  5. What does the MyClass mean? What I mean is, if...

    What does the MyClass mean? What I mean is, if my class is titled RationalADT, then would MyClass be replaced with RationalADT? And lhv and rhv - left and right hand values, or did I just make that...
  6. No no no... not with fractions. I can do that...

    No no no... not with fractions. I can do that part of it. (Yay for me - I figured one part of this bloody assignment out!)

    I just need to know how to add two integers. That's it. (And given...
  7. Well, it's a class assignment - what can I say? ...

    Well, it's a class assignment - what can I say?

    I don't really understand the point of it myself, but I'm not the professor...

    If I had two integers, a and b, how would I add them like that?
    ...
  8. Right. that makes sense.... Since I am dealing...

    Right. that makes sense....

    Since I am dealing with numbers (rational fractions), how would i express this? Say, with numbers a and b.

    Thank you so much.
  9. Um... so that means...what? The "*" represents...

    Um... so that means...what? The "*" represents multiplication - sorry if that was confusing.

    I'm trying to understand what it means to overload something like addition. How does one even go...
  10. Please explain overloading arithmetic and relational operators

    I vaguely understand the concept of overloading, but I do not understand how this applies to relational operators like <, <= and ==. I also do not understand how to overload addition, subtraction,...
Results 1 to 10 of 10