随笔分类 -  【C++】

摘要:Windows下MinGW(Minimalist GNU for Windows)A native Windows port of the GNU Compiler Collection (GCC), with freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality.gdbMakefile参考了http://www.ite 阅读全文
posted @ 2012-01-15 23:14 NemoGu 阅读(1581) 评论(0) 推荐(0)
摘要:###基础###main函数#include<iostream>using namespace std;int main(){cout << "Hello C++" << endl;return 0}预处理器:#include<iostream> 编译指令使预处理器将iostream文件的内容添加到程序中。这是一种典型的预处理器操作:在源代码被编译前,替换或添加一些文本。iostream的内容取代程序中的代码行#include<iostream>,原始文件没有变化,而是将源代码文件和iostream文件组合成一个复 阅读全文
posted @ 2011-12-26 22:58 NemoGu 阅读(160) 评论(0) 推荐(0)