Instead of showing the exact value, the output is actually shown as the following:
x = 9..000000
y = 8..050000
z = 4.0100000
For some reason, two dots are displayed for some variable (i.e. x and y).
You can easily repeat the problem. Just create a regular symbian project in Carbide C++ and then put the above code somewhere. I put the code in the application view constructor.
The same problem also occurs when using fprintf(), which prevents me from saving float point data into a text file correctly. If anyone can give me some advice, I'd be very thankful.
-Shawn
Re: Is this a bug with "printf()" and "fprintf()"in open C?
2009-02-19, 09:48#2