Hi Folks,
i've a quiestion about returning strings correctly.
is the following way a correcty one ?
It works but is it safe to use it like this ???Code:. . . string token = nextToken(); if (token.empty()) done = true; else . . . string nextToken() { string dummy; reutrn (dummy); // just return an empty string. }
Regards,
Robert