摘要: 1 string类find_first_not_of ()方法 2 3 原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://xfqxj.blog.51cto.com/2342497/512015 4 #include <string> 5 6 #include <iostream> 7 using namespace std; 8 9 int main()10 {11 string strFirst ( "abced" ),strSecond("abc abc abd def 阅读全文
posted @ 2013-06-19 22:44 herizai 阅读(900) 评论(0) 推荐(0) 编辑
摘要: 1 1 //------------------------------------- 2 // EX1101.cpp 3 // 解方程 4 //------------------------------------- 5 #include"Root.h" 6 #include<iostream> 7 using namespace std; 8 //------------------------------------- 9 int main(){10 for(double a,b,c; cin>>a>>b>>c; )1 阅读全文
posted @ 2013-06-19 21:39 herizai 阅读(249) 评论(0) 推荐(0) 编辑
摘要: 1 //===================================== 2 // f1102.cpp 3 // Josephus Problem Object-based Solving 4 //===================================== 5 #include"jose.h" 6 #include<iostream> 7 using namespace std; 8 //------------------------------------- 9 int main(){10 cout<<"ple 阅读全文
posted @ 2013-06-19 20:40 herizai 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 1 //===================================== 2 // f1101.cpp 3 // josephus problem procedural solving 4 //===================================== 5 #include<iostream> 6 using namespace std; 7 //------------------------------------- 8 struct Jose{ // 小孩结点 9 int code; ... 阅读全文
posted @ 2013-06-19 13:03 herizai 阅读(301) 评论(0) 推荐(0) 编辑