Cursos
Fazer loginComeçar a aprender IA
Cursos
Fazer loginComeçar a aprender 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 Respostas
+ 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

Costuma ter perguntas como essa?

Aprenda de maneira mais eficiente, de graça:

  • Introdução ao Python

    7.1M de alunos

  • Introdução ao Java

    4.7M de alunos

  • Introdução ao C

    1.5M alunos

  • Introdução ao HTML

    7.5M alunos

Ver todos os cursos
Quente hoje
Ошибка в приложении Sololearn
1 Votes
Is anyone else experiencing this Sololearn issue?
0 Votes
NEO V2.0
1 Votes
Best language?
0 Votes
solo learn program issue - iPhone?
1 Votes
How do I keep myself motivated in coding
0 Votes
Is it possible to write Rust code that is as compact and expressive as Python?
0 Votes
Learn - multiple choice course questions display in one box making it impossible to continue
1 Votes
Sql practice
0 Votes
I want to know how to make an Payment App like what I need to learn I need some guidance
0 Votes