/* * * Copyright (c) 1994 * Hewlett-Packard Company * */ #ifndef INTSTRING_H #define INTSTRING_H #include #include class Intstring { protected: char a[8]; public: void operator=(int n) { sprintf(a, "%07d", n); } int operator-(Intstring x) { return strcmp(a, x.a); } }; #endif