Here are my errors:
--------------------Configuration: project 6 - Win32 Debug--------------------
Compiling...
project 6.cpp
C:\Program Files\Microsoft Visual Studio\MyProjects\project 6\project 6.cpp(89) : error C2451: conditional expression of type 'class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >' is illegal
No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Program Files\Microsoft Visual Studio\MyProjects\project 6\project 6.cpp(98) : error C2451: conditional expression of type 'class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >' is illegal
No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Program Files\Microsoft Visual Studio\MyProjects\project 6\project 6.cpp(107) : error C2451: conditional expression of type 'class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >' is illegal
No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Program Files\Microsoft Visual Studio\MyProjects\project 6\project 6.cpp(117) : error C2679: binary '>>' : no operator defined which takes a right-hand operand of type '' (or there is no acceptable conversion)
C:\Program Files\Microsoft Visual Studio\MyProjects\project 6\project 6.cpp(159) : error C2511: 'getEnvelope' : overloaded member function 'class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > (void)' not found in
'Contacts'
C:\Program Files\Microsoft Visual Studio\MyProjects\project 6\project 6.cpp(15) : see declaration of 'Contacts'
C:\Program Files\Microsoft Visual Studio\MyProjects\project 6\project 6.cpp(169) : error C2511: 'getEmail' : overloaded member function 'class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > (void)' not found in 'Co
ntacts'
C:\Program Files\Microsoft Visual Studio\MyProjects\project 6\project 6.cpp(15) : see declaration of 'Contacts'
C:\Program Files\Microsoft Visual Studio\MyProjects\project 6\project 6.cpp(172) : error C2511: 'getPhone' : overloaded member function 'class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > (void)' not found in 'Co
ntacts'
C:\Program Files\Microsoft Visual Studio\MyProjects\project 6\project 6.cpp(15) : see declaration of 'Contacts'
C:\Program Files\Microsoft Visual Studio\MyProjects\project 6\project 6.cpp(180) : error C2065: 'item' : undeclared identifier
C:\Program Files\Microsoft Visual Studio\MyProjects\project 6\project 6.cpp(180) : error C2065: 'count' : undeclared identifier
C:\Program Files\Microsoft Visual Studio\MyProjects\project 6\project 6.cpp(183) : error C2065: 'phone' : undeclared identifier
Error executing cl.exe.
project 6.exe - 10 error(s), 0 warning(s)