Hi,

I need to check if the pointer const char* const points to an empty string.

Something like this:

Code:
const char* const a = ...
if (&a == "") {
   cout << "empty string!";
}
However, the code above gives me an error:
error C2446 '==': no conversion from 'const char*' to 'const char *const *'

so I guess I am doing something wrong.

Could someone help please?

Thanks.