Sha256: 91778a4f9dc4549296d3d6e739926aab4a75a972a0c87b8f6e33836656401bd1
Contents?: true
Size: 495 Bytes
Versions: 3
Compression:
Stored size: 495 Bytes
Contents
#ifndef __ADDER_H__ #define __ADDER_H__ #include <string> using namespace std; namespace classes { class Adder { public: Adder() { } static int doAdding(int a, int b, int c, int d, int e) { return a + b + c + d + e; } int addIntegers(int a, int b) { return a + b; } float addFloats(float a, float b) { return a + b; } string addStrings(string a, string b) { return a + b; } string getClassName() { return "Adder"; } }; } #endif
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rbplusplus-0.1.1 | test/headers/Adder.h |
rbplusplus-0.8 | test/headers/Adder.h |
rbplusplus-0.1 | test/headers/Adder.h |