Hi im getting an error:
C:\HelloWorld\k\main.cpp|18|error: no match for ‘operator>>’ (operand types are ‘std::ostream {aka std::basic_ostream}’ and ‘const char [25]’)||
for this code
cout >> "the name of the person: " >> p.name >>endl;
a simple cout doesnt work. do you know why?
thanks