Sha256: 8c4d1e145d9dc54bc6f9e1719070ff19cd0b8e21fba3a16e9a2c3a0cae12d01e
Contents?: true
Size: 374 Bytes
Versions: 11
Compression:
Stored size: 374 Bytes
Contents
#ifndef __COMPLEX_H__ #define __COMPLEX_H__ namespace complex { class SmallInteger { private: int i; public: SmallInteger(int i) { this->i = i; } int getI() { return this->i; } }; class Multiply { public: static int multiply(SmallInteger *i, SmallInteger *i2) { return i->getI() * i2->getI(); } }; } #endif
Version data entries
11 entries across 11 versions & 1 rubygems