摘要:
目录Basic Input/OutputStandard output (cout)Standard input (cin)cin and stringsstringstreamStatements and flow controlSelection statements: if and elseI 阅读全文
摘要:
目录Structure of a programCommentsUsing namespace stdVariables and typesIdentifiersFundamental data typesDeclaration of variablesInitialization of varia 阅读全文
摘要:
目录C++ CompilersWhat is a compiler?Console programsReferences 刚开始学C++的时候,老师推荐的是VC,然后在同学中听闻到Dev C++,再后来开始接触linux系统,知道了g++和clang。现在看到网站上的文章,突然感到了一种所有编译器都 阅读全文
摘要:
目录ArraysInitializing arraysAccessing the values of an arrayMultidimensional arraysArrays as parametersLibrary arraysData structuresData structuresPoin 阅读全文
摘要:
目录PointersAddress-of operator (&)Dereference operator (*)Declaring pointersPointers and arraysPointer initializationPointer arithmeticsPointers and co 阅读全文