摘要:
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... 阅读全文