C++
错_对
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
C++基类,派生类,同名覆盖原则
// 同名覆盖原则.cpp: 主项目文件。#include "stdafx.h"#include#includeusing namespace std;class One{private: string name; int age;public: virtual ~One( )=0{ } void Get_name( )const { co原创 2011-06-16 13:50:00 · 8148 阅读 · 0 评论 -
数据结构--立体层次结构
// roomage.cpp: 主项目文件。#include "stdafx.h"#include#include#includeusing namespace std;unsigned int sand(unsigned int (time(0) ) );/*原创 2011-08-06 00:10:34 · 1192 阅读 · 0 评论 -
十字链表【待续】
#ifndef LINK_TABLE_H#define LINK_TABLE_H#include"stdafx.h"#include#include#include#includeusing namespace std;struct Tnode{ int ro原创 2011-08-24 10:14:51 · 748 阅读 · 0 评论 -
获取当前系统时间(三种方法)
#include#includevoid main(){ /*方法1time_t curTime = time(NULL);char* curDate = ctime(&curTime);printf(curDate);-----------------------|通过给time()传递NULL参数获取当前日期和时间|通过ctime()把获取的原创 2012-07-09 23:31:43 · 5767 阅读 · 0 评论
分享