Thursday, August 28, 2008

string to bool

bool bvalue = (svalue == "1" ? true : false);

No comments: