1_858_106_8935.cpp: In function 'int main()':
1_858_106_8935.cpp:17:5: error: cannot convert 'std::basic_string<_CharT, _Traits, _Alloc>::length<char, std::char_traits<char>, std::allocator<char> >' from type 'std::basic_string<char>::size_type (std::basic_string<char>::)() const noexcept {aka long long unsigned int (std::basic_string<char>::)() const noexcept}' to type 'int'
c = a.length;
^
1_858_106_8935.cpp:18:5: error: cannot convert 'std::basic_string<_CharT, _Traits, _Alloc>::length<char, std::char_traits<char>, std::allocator<char> >' from type 'std::basic_string<char>::size_type (std::basic_string<char>::)() const noexcept {aka long long unsigned int (std::basic_string<char>::)() const noexcept}' to type 'int'
d = b.length;
^
|