today when I tried some of member functions which i read about them in a cpp course i found in my c++ compiler (which is visual c++ 6) this error:
error C2228: left of '.length' must have class/struct/union type
when i used this member function:
str_name.length()
instead of strlen() function>
so :is the problem from the old compiler or what!
and what is the different between strlen() & str_name.length()
thank you all :icon_wink: