[En-Nut-Discussion] Funny problem.. but still a problem

Maciek arrenn at poczta.onet.pl
Mon Oct 22 17:32:31 CEST 2007


Hi!

I have absolutetly no idea, why I cannot send to a stream floating point value. Following code: 

fprintf(stream, "%f", 3.14);

as a result gives me only "f" on a screen. Not "3.14", but only "f". Of course I attached stdio.h library. What's more, if I want to display a integer value, then there is no problem. 

Any ideas?

Thanks!

Maciek


More information about the En-Nut-Discussion mailing list