Subj : Re: sscanf and bool To : borland.public.cpp.borlandcpp From : waking Date : Wed Aug 25 2004 07:22 pm On Wed, 25 Aug 2004 09:06:01 -0400, "MarvinAvery" wrote: >> bool b3 = "0" != values[3] > >That's what I ended up doing. Not *exactly* like that, I hope. It won't work as written, you'll be comparing pointers. The comparison needs to be made to a character constant, not to a constant string. e.g. - bool b0 = '0' != values[0]; -- Wayne A. King (waking@idirect.com, Wayne_A_King@compuserve.com) .