Click here to Skip to main content
15,914,010 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Looking for graphics library to... Pin
randythawkins8-Apr-04 6:09
randythawkins8-Apr-04 6:09 
GeneralRe: Looking for graphics library to... Pin
Prakash Nadar8-Apr-04 6:30
Prakash Nadar8-Apr-04 6:30 
GeneralFatal Error LNK2001 and LNK1120 Pin
Ramya Narayanaswamy8-Apr-04 6:03
Ramya Narayanaswamy8-Apr-04 6:03 
GeneralRe: Fatal Error LNK2001 and LNK1120 Pin
2249178-Apr-04 6:22
2249178-Apr-04 6:22 
GeneralRe: Fatal Error LNK2001 and LNK1120 Pin
Prakash Nadar8-Apr-04 6:33
Prakash Nadar8-Apr-04 6:33 
GeneralRe: Fatal Error LNK2001 and LNK1120 Pin
David Crow8-Apr-04 6:47
David Crow8-Apr-04 6:47 
GeneralBinary File IO variable types Pin
mikewithersone8-Apr-04 4:51
mikewithersone8-Apr-04 4:51 
GeneralRe: Binary File IO variable types Pin
RChin8-Apr-04 5:51
RChin8-Apr-04 5:51 
If you are planning on transporting the binary representation of these numbers across these development platform, not only will you need to ensure the correct binary format stored, but this still will not solve your problem of distinguishing between the integer and float (double) type.
I would suggest storing the numbers as a text value. You could then use a decimal digit to distinguish between wether your number should be treated as an integer or a float: eg:
If the following is stored in your text file:
"45,23,45.0,23.0"
Then you would infer that the first two numbers should be of type int, and the last two, of type double.




I Dream of Absolute Zero

GeneralClosing a crashed application. Pin
mcgahanfl8-Apr-04 4:30
mcgahanfl8-Apr-04 4:30 
GeneralRe: Closing a crashed application. Pin
Renjith Ramachandran8-Apr-04 5:23
Renjith Ramachandran8-Apr-04 5:23 
GeneralRe: Closing a crashed application. Pin
mcgahanfl8-Apr-04 7:38
mcgahanfl8-Apr-04 7:38 
GeneralRe: Closing a crashed application. Pin
David Crow8-Apr-04 6:49
David Crow8-Apr-04 6:49 
GeneralRe: Closing a crashed application. Pin
mcgahanfl8-Apr-04 7:40
mcgahanfl8-Apr-04 7:40 
GeneralHook dll for Multiple applications Pin
Rajeshk1238-Apr-04 3:29
Rajeshk1238-Apr-04 3:29 
GeneralRe: Hook dll for Multiple applications Pin
Anonymous8-Apr-04 4:33
Anonymous8-Apr-04 4:33 
GeneralRe: Hook dll for Multiple applications Pin
gUrM33T8-Apr-04 15:12
gUrM33T8-Apr-04 15:12 
Generaltcp header Pin
packetlos8-Apr-04 3:17
packetlos8-Apr-04 3:17 
GeneralRe: tcp header Pin
Antony M Kancidrowski8-Apr-04 5:17
Antony M Kancidrowski8-Apr-04 5:17 
GeneralRe: tcp header Pin
Roger Wright8-Apr-04 5:38
professionalRoger Wright8-Apr-04 5:38 
GeneralRe: tcp header Pin
packetlos8-Apr-04 6:55
packetlos8-Apr-04 6:55 
GeneralRe: tcp header Pin
Roger Wright11-Apr-04 5:35
professionalRoger Wright11-Apr-04 5:35 
GeneralRe: tcp header Pin
packetlos14-Apr-04 8:39
packetlos14-Apr-04 8:39 
GeneralPass Server Exception to Client proxy Pin
Anonymous8-Apr-04 2:50
Anonymous8-Apr-04 2:50 
GeneralSDI application Help.. Pin
Renjith Ramachandran8-Apr-04 2:21
Renjith Ramachandran8-Apr-04 2:21 
GeneralRe: SDI application Help.. Pin
Ravi Bhavnani8-Apr-04 3:51
professionalRavi Bhavnani8-Apr-04 3:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.