这个为什么?求指导?怎么修改?
错误的代码是: for(string::size.type ix=0;ix!=str.size();++ix)报错:7 19 D:\Program Files (x86)\Dev-Cpp\main.cpp [Error] request for member 'type' in 'std::basic_string<_CharT, _Traits, _Alloc>::size<char, std::char_traits<char>, std::allocator<char> >', which is of non-class type 'std::basic_string<char>::size_type (std::basic_string<char>::)()const {aka unsigned int (std::basic_string<char>::)()const}'