Sha256: 54f8bc2da985a9a2c4697ba59ed686af72f6cf1457daa8453c8668f13cb80691
Contents?: true
Size: 287 Bytes
Versions: 5
Compression:
Stored size: 287 Bytes
Contents
#ifndef __UNITS_H__ #define __UNITS_H__ #include <ostream> #include <string> using namespace std; class Unit { friend ostream &operator<<( ostream &out, Unit &unit ); public: Unit() : name( "Mile" ) {} string to_string(); private: string name; }; #endif // ndef __UNITS_H__
Version data entries
5 entries across 5 versions & 1 rubygems