摘要: 1 #include <iostream> 2 3 using namespace std; 4 int toInteger(char string[]); 5 int main(){ 6 char string[100]={0}; 7 cin>>string; 8 cout<<toInteger(string)<<endl; 9 return 0;10 }11 12 int toInteger(char string[])13 {14 //Your code is here15 int ret = 0;16 bool flag = ... 阅读全文
posted @ 2012-09-15 12:57 ziyoudefeng 阅读(295) 评论(0) 推荐(0) 编辑