Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 257 Bytes

exercise_10_05.md

File metadata and controls

5 lines (3 loc) · 257 Bytes

练习10.5:在本节对名册(roster)调用equal的例子中,如果两个名册中保存的都是C风格字符串而不是string,会发生什么?


那么将会做指针的比较,而不是字符串内容的比较,显然是错误的。