01 2015 档案
摘要:Notes from C++ PrimerOperationsOperations of string support lots of operations ofsequential container.string s; define a new empty string object, name...
阅读全文
摘要:Notes from C++ PrimerInitialize container by iteratorWhen copy a container to another, the containertype and element type must be match at the same ti...
阅读全文
摘要:Notes from C++ PrimerFile StateCondition state is used to manage stream state, which indicates if the stream is available or recoverable.State of stre...
阅读全文
摘要:1. Define variable return_code to record the function's status.int return_code = 0;2. Define the exit flag:exit_flag, which is used by goto. This flag...
阅读全文
摘要:Notes from C++PrimerIn general, head file includes: class definition, declaration of extern variable and declaration of function.1. Head file is used ...
阅读全文
摘要:Compile Two Files:$ CC -c Main.cc Sales_item.cc # by default generates a.exe # some compilers generate a.o...
阅读全文
摘要:最常用的键有F3(运行代码)、F6(查看log信息)、Ctrl + / (注释代码)、Ctrl + Shift + / (取消代码注释)SAS系统一共有4类快捷键,其中部分有重复, 第一类可自定义。1. Default Key Definitions under Windows这个可以点F9快捷键或...
阅读全文