Gast
#367778
bei folgender Konsterlation bekomme ich vom Compiler immer eine
Fehlermeldung. Wie bekomme ich diese weg? Funktionieren tut es
zumindest.
int main (void)
{
char cBuffer[10];
float fFoo = 1.5;
sprintf( cBuffer, "%.2f", fFoo );
while(1);
return 0;
}
warning: double format, float arg (arg 3)
%f steht doch für float?