John Levon <[EMAIL PROTECTED]> writes:

| On 18 Oct 2000, Lars Gullik Bjønnes wrote:
| 
| > fname is a string so you should use:
| > 
| >         if (fname.empty())
| >                 return;
| 
| thanks. it is better to use empty() because it avoids the implicit
| srting("") ctor in the conversion right ?

That too + instead of saying "if equal to empty string" you now say
"if string is empty".

        Lgb

Reply via email to