Click here to Skip to main content
15,922,894 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
i am here to know that what is operator overloading and why we use it... plz do let me know what is the reason behind it
Posted
Updated 8-Sep-13 22:05pm
v2

This is the sort of question that you can easily find answers for yourself, just by doing https://www.google.com/search?q=operator+overloading[^], or reading a programming book.
 
Share this answer
 
Comments
CPallini 9-Sep-13 4:06am    
5.
Richard MacCutchan 9-Sep-13 4:20am    
:thumbsup:
[no name] 9-Sep-13 4:13am    
Thanks Mr MacCutchan. Can you write more - I can't just cut and paste this into my homework.
Richard MacCutchan 9-Sep-13 4:20am    
Why not, all your classmates will. :)
CPallini 9-Sep-13 4:23am    
Even your teacher did. :-)
Mummy Microsoft gently provides even a tutorial: "Operator Overloading Tutorial"[^].

See also (the more recent): "How to: Use Operator Overloading to Create a Complex Number Class (C# Programming Guide)"[^].

Please note operator overloading is a rather advanced topic (you may find several articles about their subtetlies).
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900