Subj : Re: sscanf and bool To : borland.public.cpp.borlandcpp From : MarvinAvery Date : Thu Aug 26 2004 12:35 pm "Wayne A. King" wrote in message news:412cd78e.12944394@newsgroups.borland.com... > >> 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]; Not to worry -- it wasn't exactly like your example. Just the same idea. Marvin -- Marvin Avery marvin.avery@sdc-dsc.gc.ca .