Overloaded function C++
I don't understand How to create the overloaded function ?
like in this question:
Write a program that mimics a calculator. The program should take as input two integers and an arithmetic operation (+, -, *, or /) to be performed. It should then output the numbers, the operator, and the result. Create four overloaded function for each operator. Note: For division, if the denominator is zero, output an appropriate message. (Hint: use switch)
samedi 29 novembre 2014
Overloaded function C++
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire