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

C / C++ / MFC

 
GeneralRe: Context Menu from the Status Bar.. Pin
Ravi Bhavnani4-Nov-02 7:45
professionalRavi Bhavnani4-Nov-02 7:45 
GeneralRe: Context Menu from the Status Bar.. Pin
Anonymous4-Nov-02 7:52
Anonymous4-Nov-02 7:52 
GeneralColored Grid Pin
fossilman4-Nov-02 7:15
fossilman4-Nov-02 7:15 
GeneralRe: Colored Grid Pin
Bill Wilson4-Nov-02 13:50
Bill Wilson4-Nov-02 13:50 
GeneralCHtmlView with Flash not repainting... Pin
Happy_Dog4-Nov-02 7:15
Happy_Dog4-Nov-02 7:15 
GeneralAsk about function parameters and pass a reference. Pin
ooosawaddee34-Nov-02 7:02
ooosawaddee34-Nov-02 7:02 
GeneralRe: Ask about function parameters and pass a reference. Pin
ian mariano4-Nov-02 7:17
ian mariano4-Nov-02 7:17 
GeneralSaving int's, floats, BYTEs to file Pin
Kuniva4-Nov-02 6:46
Kuniva4-Nov-02 6:46 
Hi I know how to save strings to a file using MFC and without MFC (file streams).
But i would like to know how i can save integers and floats and BYTEs and other things like that. I mean,.. i just used to convert them to a string and save them that way but that actually takes up more space in the end so it seems. So how do i save them binary? like... an integer is 4 bytes right? how do i save it to a file so it only takes up 4 bytes? Same for a float..

Thank you.

Kuniva
--------------------------------------------

GeneralRe: Saving int's, floats, BYTEs to file Pin
Ravi Bhavnani4-Nov-02 7:25
professionalRavi Bhavnani4-Nov-02 7:25 
GeneralRe: Saving int's, floats, BYTEs to file Pin
Kuniva4-Nov-02 7:44
Kuniva4-Nov-02 7:44 
GeneralRe: Saving int's, floats, BYTEs to file Pin
Carlos Antollini4-Nov-02 7:41
Carlos Antollini4-Nov-02 7:41 
GeneralRe: Saving int's, floats, BYTEs to file Pin
Christian Graus4-Nov-02 9:57
protectorChristian Graus4-Nov-02 9:57 
Questionhow can I debug this? Pin
ns4-Nov-02 6:40
ns4-Nov-02 6:40 
AnswerRe: how can I debug this? Pin
Andreas Saurwein4-Nov-02 6:41
Andreas Saurwein4-Nov-02 6:41 
GeneralRe: how can I debug this? Pin
ns4-Nov-02 7:55
ns4-Nov-02 7:55 
AnswerRe: how can I debug this? Pin
Ravi Bhavnani4-Nov-02 7:23
professionalRavi Bhavnani4-Nov-02 7:23 
GeneralRe: how can I debug this? Pin
ns4-Nov-02 7:44
ns4-Nov-02 7:44 
GeneralRe: how can I debug this? Pin
Ravi Bhavnani4-Nov-02 7:46
professionalRavi Bhavnani4-Nov-02 7:46 
GeneralI am shocked!(pleasantly) Pin
ns4-Nov-02 7:53
ns4-Nov-02 7:53 
GeneralRe: I am shocked!(pleasantly) Pin
Ravi Bhavnani4-Nov-02 9:27
professionalRavi Bhavnani4-Nov-02 9:27 
GeneralRe: how can I debug this? Pin
ns4-Nov-02 8:13
ns4-Nov-02 8:13 
GeneralRe: how can I debug this? Pin
Ravi Bhavnani4-Nov-02 9:29
professionalRavi Bhavnani4-Nov-02 9:29 
AnswerRe: how can I debug this? Pin
Jay24-Nov-02 14:24
Jay24-Nov-02 14:24 
GeneralCEdit : Detect the VK_ENTER , VK_TAB+, VK_LF from a string Pin
youssef4-Nov-02 6:19
youssef4-Nov-02 6:19 
GeneralDetermining if SQL replication is enabled Pin
Andreas Saurwein4-Nov-02 5:39
Andreas Saurwein4-Nov-02 5:39 

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.