摘要: 类的基础定义 -类的基本思想是数据抽象和封装,数据抽象依赖于接口和实现分离的编程技术。类的接口包括用户所能执行的操作;类的实现则包括的数据成员、负责接口实现体以及定义类所需的各种私有函数;主函数 int main() { Sales_date first("... 阅读全文
posted @ 2015-10-25 20:20 齐庆 阅读(217) 评论(0) 推荐(0) 编辑
摘要: #include#include #include #include #includeusing namespace std;typedef int arrT[10];//类型别名using arrT = int[10];//等价声明arrT* funlc(int i);//数组指针... 阅读全文
posted @ 2015-10-25 02:32 齐庆 阅读(319) 评论(0) 推荐(0) 编辑