我一直被困在这个程序中。我终于觉得自己越来越近了。我必须在字符串中找到元音和字符的数量。然后在最后输出它们。但是,当我编译我的程序崩溃。我检查过语法,并整天看着我的书。如果有人可以帮助,我会非常感激!因为我有5个更类似的函数来编写操纵C字符串。谢谢! #include <iostream>
#include <string>
using namespace std;
int special
可能重复: What is the proper function for comparing two C-style strings? 我的比赛状态不行!有人可以建议如何比较C风格的字符串吗? void saveData(string line, char* data){
char *testString = new char[800];
char *stpr;
i