I'm new to the STL string (all of STL for that matter). I just learned that a NULL string can't be assigned in the copy constructor, and since I'm still getting errors, I'm guessing in the operator = as well. Is there any way to check if I'm going to be assigning a NULL string to another string? I tried
if(name=="") return;
else file = name;
but it didn't really work (name had an address of 0xdddddddd). What can I do? Any help or a website I could find would be appreciated.