Program refuses to output correct information after <= overload

  • (2 Pages)
  • +
  • 1
  • 2

15 Replies - 625 Views - Last Post: 07 October 2012 - 11:09 AM Rate Topic: -----

#16 Salem_c  Icon User is online

  • void main'ers are DOOMED
  • member icon

Reputation: 1675
  • View blog
  • Posts: 3,173
  • Joined: 30-May 10

Re: Program refuses to output correct information after <= overload

Posted 07 October 2012 - 11:09 AM

> 4 feet, 3 inches //Shouldn't this have come between the 2 previous statements?
How would it?

> 35 trd = second;
This causes all of your copy constructor to run, including the two cout statements it contains.
Was This Post Helpful? 1
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2