帮忙看看string类问题
#include <iostream> #include <string>
using namespace std;
void main() { string s="abcdefghijklmnopqrstuvwxyz";
cout<<s.find("a"); }
--------------------Configuration: bb - Win32 Debug-------------------- Compiling... 元音字母问题.c c:\tools\vc6.0\include\eh.h(32) : fatal error C1189: #error : "eh.h is only for C++!" Error executing cl.exe.
元音字母问题.obj - 1 error(s), 0 warning(s)