2 Replies - 660 Views - Last Post: 22 July 2014 - 01:41 PM Rate Topic: -----

#1 Cup of Java  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 38
  • Joined: 26-September 13

Operator Overloading

Posted 22 July 2014 - 01:19 PM

Hey everyone, I am currently working on a project that involves operator overloading of the basic operators(+, -, *, <, >, <<, >>, ==, !=, <= and >=). I have finished the entire project, but now need to go back and implement the class and overload the operators, but that is where I am having some issues. Does anyone know where I can find some details on this, or can someone try to explain it in detail for me? Any help or suggestions are greatly appreciated :)

Thanks :helpsmilie:

Is This A Good Question/Topic? 0
  • +

Replies To: Operator Overloading

#2 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 13566
  • View blog
  • Posts: 54,125
  • Joined: 12-June 08

Re: Operator Overloading

Posted 22 July 2014 - 01:29 PM

Quote

I have finished the entire project, but now need to go back and implement the class and overload the operators, but that is where I am having some issues.

Wait - how can you have finished the project if the important parts (overloading the operators and implementing the class) are not done? :blink:


Plenty of tutorials if you go the tutorial section and put in "overload" for the search. Example:
http://www.dreaminco...loading-basics/
http://www.dreaminco...torial-part-iii
http://www.dreaminco...unction-objects
Was This Post Helpful? 0
  • +
  • -

#3 Cup of Java  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 38
  • Joined: 26-September 13

Re: Operator Overloading

Posted 22 July 2014 - 01:41 PM

Thank you for those links, and I kind of did the project backwards, I did it without the overloading or the class, but now need to go back and implement all of that. I know it's not the proper way to do things, but I just wanted to make sure how I was doing it was correct first.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1