摘要: #ifndef _MATRIX_H#define _MATRIX_Hclass Matrix{ private: int row; // 矩阵的行数 int col; // 矩阵的列数 int n; // 矩阵元素个数 double* mtx; // 动态分配用来存放数组的空间 p... 阅读全文
posted @ 2008-06-30 22:02 NanKe Sir's Blog 阅读(2077) 评论(2) 推荐(0) 编辑
摘要: 在数据库中进行数据统计时,通常以会计月份、会计年度作为统计的时间段,例如下面的 SQL 语句: SELECT Year(f_date) AS Y, Month(f_date) AS M, SUM(f_money) AS totalMoney GROUP BY Year(f_date), Month(f_date); 但是世界各国的会计年度不尽相同,比如中、俄、德等国采用的是 1 月 - 12 月,... 阅读全文
posted @ 2008-06-30 20:51 NanKe Sir's Blog 阅读(812) 评论(5) 推荐(0) 编辑