0_0_36158709_15860.cpp: In function 'int main()':
0_0_36158709_15860.cpp:31:9: error: request for member 'suit' in 's.std::basic_string<_CharT, _Traits, _Alloc>::operator[]<char, std::char_traits<char>, std::allocator<char> >(((std::basic_string<char>::size_type)i))', which is of non-class type 'char'
s[i].suit = '0';
^
|