随笔分类 - 【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
阅读全文
摘要:###基础###main函数#include<iostream>using namespace std;int main(){cout << "Hello C++" << endl;return 0}预处理器:#include<iostream> 编译指令使预处理器将iostream文件的内容添加到程序中。这是一种典型的预处理器操作:在源代码被编译前,替换或添加一些文本。iostream的内容取代程序中的代码行#include<iostream>,原始文件没有变化,而是将源代码文件和iostream文件组合成一个复
阅读全文

浙公网安备 33010602011771号