string编译通不过
踏实每一步 2011-06-01 04:47:08 HCRecordset.cpp:27: error: aggregate `std::string sT' has incomplete type and cannot be defined
HCRecordset.cpp:31: error: no matching function for call to `std::vector<std::string, std::allocator<std::string> >::push_back(<type error>)'
/usr/local/gcc-3.4.0/lib/gcc/i386-redhat-linux/3.4.0/../../../../include/c++/3.4.0/bits/stl_vector.h:557: note: candidates are: void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = std::string, _Alloc = std::allocator<std::string>]
HCRecordset.cpp:32: warning: unused variable 'i'
HCRecordset.cpp: In member function `char* HCRecordset::GetData(unsigned int, unsigned int)':
HCRecordset.cpp:44: error: invalid use of undefined type `struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >'