Advertisement

1 - 10 of 912 containing alltags:("floating") (0.002 seconds)
Using DAO and MFC 4.2, how can I store an array of 32bit float s into a CByteArray field? I have no problem programming the code to store CbyteArray values into my table.  My question is:  what  is...
Zones: Windows MFCDate Answered: 10/31/1998 Grade: A Views: 0
i need to do some simple calculation with numbers (+,-,*,/) i get a float number value in a TextField (tf1) and store it into a vector (v1). how can i retrieve the value from v1,convert it into a f...
Zones: JavaDate Answered: 05/28/1999 Grade: C Views: 0
Hi all, I'm working with VC++6.0 in WinNT4 SP4 on a Pentium II 300. With following code I get strange results when casting the result of a floating point operation to a long. This is my code: ---...
Zones: Windows ProgrammingDate Answered: 06/09/1999 Grade: A Views: 0
This is probably a stupid question, but here goes... I am trying to figure out how to convert a double float value to int without loss of accuracy... i.e. double d; int i; d=74.112;            //...
Zones: CDate Answered: 01/10/2000 Grade: C Views: 0
My application has the following feautres, 1. Multiple Instancesof Application is  allowed 2. Application Framewindow is resizeable. 3. Non-rezizable Dialogs ( Modeless ) The problem with t...
Zones: Windows MFCDate Answered: 02/09/2000 Grade: C Views: 0
When reading data files containing integers created on the Macintosh, I have had to perform byte-swapping when reading them under NT (C++). (BIG/LITTLE ENDIAN). Under NT, how does one read a file c...
Zones: Windows ProgrammingDate Answered: 02/26/2000 Grade: A Views: 0
How can I convert a float type to a string with the format "XXX.XX" ? Thank you very much.
Zones: Palm OS ProgrammingDate Answered: 11/16/2000 Grade: B Views: 0
#include <stdio.h> 3: 4:  main() 5:  { 6:     char  c, *ptr_c; 7:     int   x, *ptr_x; 8:     float y, *ptr_y; 9: 10:    c = 'A'; 11:    x = 7; 12:    y = 123.45; 13:    printf("c: addre...
Zones: C++Date Answered: 06/21/2001 Grade: A Views: 0
Hi I wanna do a math thing.. float x = ... 2^x; There is no function in C called ^,, what is the function called ?
Zones: C++Date Answered: 06/28/2001 Grade: A Views: 0
I have a float with the initial value set to -500 . I have a loop that keeps adding 0.01 to the float , but I notice strange results : instead of reaching 0 , it reaches something like 0.0000000...
Zones: C++Date Answered: 03/21/2002 Grade: A Views: 0