[转]C/C++资源大汇总(很好很强大)
1.开发工具下载
TUBER C http://www.duote.com/soft/392.html
Turbo C 2.0 汉化版 http://www.programfan.com/showdown.asp?id=306
C-Free 4.0 http://www.programfan.com/showdown.asp?id=245
Turbo C 库函数速查 1.0 http://www.programfan.com/showdown.asp?id=254
Borland Turbo C++ 3.0 完整版 http://www.programfan.com/showdown.asp?id=153
DEV C++ http://www.skycn.com/soft/4639.html
Borland C++ Builder Compiler http://www.programfan.com/showdown.asp?id=157
Visual C++ http://www.duote.com/soft/11498.html
C++ Builder http://www.onlinedown.net/soft/23212.htm
MyC++ http://www.duote.com/soft/13343.html
C++ Editor http://www.programfan.com/showdown.asp?id=285
LCC-WIN32 http://www.skycn.com/soft/6518.html
VcSmart 5.0.7 绿色版 http://www.xdowns.com/soft/38/121/2009/Soft_50575.html
2.源码下载
源码网-VC/C++专区 http://www.codepub.com/software/download-12-1.html
源码爱好者-VC/C++专区 http://www.codefans.net/sort/list_8_1.shtml
365源码之家- VC/C++专区 http://www.365code.com/code/vc/index.html
中国源码下载站- C/C++专区 http://www.downcode.com/sort/j_7_89_1.shtml
锋网源码-VC/C++专区 http://www.fwvv.net/Software/download-141-1.shtml
豆豆源码网- VC专区 http://code.ddvip.com/list/150.html
问友源码- VC专区 http://www.winu.cn/code/vc/
代码仓库/VC知识库 &n
相关文档:
把mysql.h复制到vc的目录的include目录下
mysql.h在你mysql的安装目录下的include里面如:mysql\include
把libmysql.lib(在mysql的安装目录下,搜索下就能找到)复制到这个目录下(C:\Program Files\Microsoft Visual Studio 9.0\VC\lib),要不连接会出错。
如果编译连接时还是出错。就把libmysql.lib复制到你源程序的目 ......
1. 采用短变量。如bData,unsigned char。
2. 无符号变量。51不支持符号运算。
3. 避免使用浮点指针。浮点运算时要禁止中断。
4. &nb ......
#include <assert.h> //设定插入点
#include <ctype.h> //字符处理
#include <errno.h> //定义错误码
#include <float.h> //浮点数处理
#include <fstream.h> //文件输入/输出
#include <iomanip.h> //参数化输入/输出
#include & ......
常见的预处理功能: 预处理器的主要作用就是把通过预处理的内建功能对一个资源进行等价替换,最常见的预处理有:文件包含,条件编译、布局控制和宏替换4种。
文件包含:#include 是一种最为常见的预处理,主要是做为文件的引用组合源程序正文。
条件编译:#if,#ifndef,#ifdef ......