Corsi
AccediInizia a imparare l'IA
Corsi
AccediInizia a imparare l'IA
+ 3

What is use of the operator overloading in c++?

explain this concept

c++
26th Dec 2017, 8:16 AM
Antony Gladson
Antony Gladson - avatar
2 Risposte
+ 7
https://en.wikibooks.org/wiki/C%2B%2B_Programming/Operators/Operator_Overloading https://www.programiz.com/cpp-programming/operator-overloading http://www.studytonight.com/cpp/operator-overloading.php
26th Dec 2017, 8:19 AM
Scooby
Scooby - avatar
+ 1
if you want to make objects respond to different operators like +, -, etc. you can overload operators. Otherwise you will get compile error
26th Dec 2017, 8:33 AM
Eligijus Silkartas
Eligijus Silkartas - avatar

Hai spesso domande come questa?

Impara in modo più efficiente, gratuitamente:

  • Introduzione a Python

    7,1M studenti

  • Introduzione a Java

    4,7M studenti

  • Introduzione a C

    1,5M studenti

  • Introduzione a HTML

    7,5M studenti

Vedi tutti i corsi
Popolare oggi
Best language?
0 Votes
How do I keep myself motivated in coding
0 Votes
Anyone have song names? Comment your favorites here for a project im working on
1 Votes
Bro can you fix yt error?
0 Votes
Need suggestions to learn AI and ML
1 Votes
I want to know how to make an Payment App like what I need to learn I need some guidance
0 Votes
Learn - multiple choice course questions display in one box making it impossible to continue
1 Votes
Bug in Completing AI Practice
0 Votes
Java full stack
0 Votes
Duration of heart refilling
0 Votes