calculator (Windows) - library API 1.1.1
calculator - Libraries
Loading...
Searching...
No Matches
calculator.h
Go to the documentation of this file.
1
7#ifndef CALCULATOR_H
8#define CALCULATOR_H
9
11
12namespace Coruh
13{
14 namespace Calculator
15 {
21 {
22 public:
29 static double add(double a, double b);
30
37 static double subtract(double a, double b);
38
45 static double multiply(double a, double b);
46
55 static double divide(double a, double b);
56
57
58 };
59 }
60}
61
62#endif // CALCULATOR_H
Provides Basic functions for various operations.
Definition calculator.h:21
static double multiply(double a, double b)
Definition calculator.cpp:14
static double add(double a, double b)
Definition calculator.cpp:6
static double divide(double a, double b)
Definition calculator.cpp:18
static double subtract(double a, double b)
Definition calculator.cpp:10
Provides cross-platform type definitions.
Definition calculator.h:13