摘要: 题目:如何对C++中输入的字符串进行分割呢?如“I am a student”,去除空格后分割成为“I”,“am”, “a”, “student”四个单词思路:直接参考代码代码:void stringSplit(string s,char splitchar,vector& vec){ if(... 阅读全文
posted @ 2015-11-02 16:07 AndyJee 阅读(1167) 评论(0) 推荐(0) 编辑
摘要: 题目:In which of the following scenarios is a Copy Constructor called or invoked?A.When no conversion function exists for converting the class object to... 阅读全文
posted @ 2015-11-02 15:46 AndyJee 阅读(599) 评论(0) 推荐(0) 编辑