- 2
- 0
- 约1.03万字
- 约 15页
- 2021-11-20 发布于湖南
- 举报
2006 年北理计算机复试上机题
2009-09-19 10:48
1. 写一个程序判断字符串中数字的位置(不限制使用面向对象编程)
例如: 输入 a3b4c5
输出 2 4 6
实现:
#include iostream
#include ctype.h
using namespace std;
int main()
{
char c_arr[100];
int i,len=0;
coutPlease enter a string :endl;
cinc_arr;
while (c_
原创力文档

文档评论(0)