2014年6月22日

C++string的操作

摘要: 1 #include 2 using namespace std; 3 4 5 int main() 6 { 7 //initilization 8 string str("abc.ddd"); 9 const strin... 阅读全文

posted @ 2014-06-22 23:39 醉清风JM 阅读(315) 评论(0) 推荐(0)

面试题目-比较两个数组的内容是否一致

摘要: 题目: 判断两个数组内容是否一样,不计顺序答案:#include #include #include #include "../basic/utility.h"using namespace std;int main(){ //input string arr1, arr2; cout > arr1... 阅读全文

posted @ 2014-06-22 23:35 醉清风JM 阅读(744) 评论(0) 推荐(0)

导航