摘要:
下载codeblocks16.01版本下载自带MinGW_gcc_4.9.2,即 codeblocks-16.01mingw-setup.exe官网介绍为: NOTE: The codeblocks-16.01mingw-setup.exe file includes additionally th 阅读全文
摘要:
DAO(Database Access Object, 数据访问对象) 适合应用在小型的单系统的数据库。 阅读全文
摘要:
VC6.0中用ado连接数据库出错 1. 在stdafx.h中添加 #import "c:\\program files\\common files\\system\\ado\\msado15.dll" no_namespace rename("EOF", "adoEOF") rename("BOF 阅读全文
摘要:
C中文件输入输出 文件的缓冲区: 每一个被使用的文件都在内存中用一个FILE结构体来存储相应的文件信息(如文件的名字、文件的状态、文件当前位置等)。FILE的定义在stdio.h中 typedef struct { short level; //缓冲区“满”的程度 unsigned flags; / 阅读全文
摘要:
typedef basic_ios > ios; typedef basic_streambuf > streambuf; typedef basic_istream > istream; typedef basic_ostream > ostream; typedef basic_iostream > iostream; typedef basic_stringbuf, allocato... 阅读全文
摘要:
重载>> 和 << 运算符重载举例 阅读全文
摘要:
参考:www.cnblogs.com/carsonzhu/p/5277036.html 字符串拷贝函数strcpy的原型: char *strcpy(char *strDest,const char *strSrc); strcpy函数将strSrc拷贝至输出参数strDest中,同时函数的返回值又 阅读全文
摘要:
//重载赋值运算符“=”,只能重载为成员函数。 //若不写,系统提供默认赋值(按位赋值) //注意:返回类的引用 //一般顺序:1.判断是否是同一对象 // 2.若被赋值的对象占用了动态空间,应先释放。再申请空间赋值 // 3.返回 return *this; 阅读全文