3a6 Subj : Re: sprintf() problem ? To : borland.public.cpp.borlandcpp From : "Midnight Programmer" Date : Fri Jul 11 2003 11:45 am What kind of variables are 'x,y,z,a,h, and i'. Are they floats? Doubles???? "Olivier" wrote in message news:3f0d9756@newsgroups.borland.com... > 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 > > > > > > . 0