home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH16 / F161821.FLD < prev    next >
Encoding:
Text File  |  1993-08-13  |  2.0 KB  |  1 lines

  1. ╦typedef char String32╦[33╦];                 ╘// Part 1                                   class Exception ╦{                                                                              protected:                                                                                            String32 sName╦;                                                                             public:                                                                                               Exception╦() :  { strcpy╦( (char *)sName╦, "Exception"╦); }                            char* Name╦(){return (char *)sName╦; }                                                    };                                                                                                 class MathExcept╦ : public Exception ╦{                                                      public:                                                                                               MathExcept╦(){ strcpy╦( (char *)sName╦, "Math Exception"╦); }                       };                                                                                                 class IOExcept ╦: public Exception ╦{                                                        public:                                                                                               IOExcept╦(){ strcpy╦( (char *)sName╦, "IO Exception"╦); }                           };