![]() |
JustCpp
Repo wih C++ stuff
|
#include <map>
#include <iostream>
#include <cassert>
#include <exception>
#include <functional>
Go to the source code of this file.
Namespaces | |
namespace | MathOperations |
namespace | Display |
Typedefs | |
typedef std::map< int, int > | MyMap |
Enumerations | |
enum | MathOperations::OPERATION { MathOperations::ADD , MathOperations::SUBSTRACT , MathOperations::MULTIPLY , MathOperations::DIVIDE } |
Functions | |
int | MathOperations::add (int op1, int op2) |
int | MathOperations::substract (int op1, int op2) |
int | MathOperations::multiply (int op1, int op2) |
int | MathOperations::divide (int op1, int op2) |
void | Display::printResult (int operation, int result) |
void | Display::printError (const std::exception &e) |
typedef std::map<int, int> MyMap |