输入一串字符,以'?'结束,统计其中每个小写字母出现的次数. C++编程

日期:2016-12-14 15:24:55 人气:1

输入一串字符,以'?'结束,统计其中每个小写字母出现的次数. C++编程

#include "stdafx.h" #include #include using namespace std; int _tmain(int argc, _TCHAR* argv[]) { char strTemp[100] = ""; cout<<"请输入字符串,按回车结束"<<endl; cin>>strTemp;//输入并赋值 std::m
    A+
热门评论