1>c:\course technology\83618-4\cpp5\chap12\ch12appe04 solution\ch12appe04 project\ch12appe04.cpp(53) : error C2784: 'bool std:perator >(const std::basic_string<_Elem,_Traits,_Alloc> &,const _Elem *)' : could not deduce template argument for 'const _Elem *' from 'int'
That is telling you that you cannot use the bool operator ">" in your comparison. You need to try comparing the same kind of variable. You are trying to compare an INT to a STRING. Won't work. That operator is for INT to INT.