• Cursos
  • Compilador de Código
  • Debatir
  • Precios
  • Teams
Menu
+ 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 Respuestas
+ 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

¿Tienes a menudo preguntas como esta?

Aprende gratis de forma más eficaz

  • Introducción a Python

    7,1M de estudiantes

  • Introducción a Java

    4,7M de estudiantes

  • Introducción a C

    1,5M de estudiantes

  • Introducción a HTML

    7,5M de estudiantes

Ver todos los cursos
En tendencia hoy
How to properly reverse a string in python
4 Votes
Can someone explain how it works (im new)
1 Votes
Using Python on VScode
2 Votes
Python Developer
0 Votes
Average of Two Numbers
0 Votes
Wayss
0 Votes
hi my coding instor told me to make a calculator that find the average of two numbers can you pls tell me my erro
0 Votes
Hearts
0 Votes
Hi guys I need some one to teach the String name how I can do it true because when I finish coding they give me NO OUTPUT
1 Votes
Can I take the certificates after finished the lessons?
1 Votes