摘要:
观察两段代码并回答下列问题: (1)Identify the fault. (2)If possible, identify a test case that does not execute the fault. (Reachability) (3)If possible, identify a 阅读全文
摘要:
从我接触编程开始,遇到过很多的错误;刚接触C++的时候常犯的错误就有很多,比如变量未声明,像这类错误编译器会直接报错,很容易检查出来;‚C++中指针(pointer)是最令我头疼的。尤其是在刚开始学习list的时候,面对大量的前置后缀指针,一定要通过细致的逻辑思考才能搞清指针之间的关系。这样的逻辑 阅读全文