hello there, im new in c++...i just want to know how to compare a string to null like:
string x;
cin >> x;
if(x==NULL){
cout << "null";
}
im using this one, if(&x==0) ...but it does'nt work...
this is what my mentor told me to do...
help..thanks