Subj : Re: sprintf() problem ? To : borland.public.cpp.borlandcpp From : "Olivier" Date : Thu Jul 10 2003 07:41 pm I just declar the different value with "double x,y,z,a,h,i;" and I initialize all this value to 0. "Ed Mulroy [TeamB]" a écrit dans le message de news:3f0d9589$1@newsgroups.borland.com... > The line in question is: > > sprintf(tmp,"Total=%18.2f",x+y+z-a+(h+i)); " > > but none of the declarations of tmp, x, y, z, a, h or i are shown. > > Please show the declarations. > > . Ed > > > Olivier wrote in message > > news:3f0d9501@newsgroups.borland.com... > > > > I am using borland C++ ver 5.02 > > .