⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cdate.txt

📁 使用tasking for mc683XX C编译器
💻 TXT
字号:
CDate.txt

CDate.h		CDate class declaration
CDate.cpp   CDate class definition
test.cpp    program to test the CDate class

The CDate class demonstrates several features of C++ classes.
The CDate class is 'canonical' because it has the methods:
constructor, destructor, copy constructor and overloaded 
assignment operator, that are needed by 'well behaved' objects.

This class demonstrates the use of the destructor to invalidate
an object that has gone out of scope and the use of assert() to
warn the developer when an invalide object has been accessed.

The class demonstrates the following features:
  overloaded pre-increment, post-increment and equality operators.
  checking for valid input when setting data,
  an anonimous enum as part of the class,
  a private method,
  const methods,
  default function parameters,
  type bool.



⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -