Click here to Skip to main content
15,887,214 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Answer[Message Deleted] Pin
led mike4-May-09 9:23
led mike4-May-09 9:23 
General[Message Deleted] Pin
Greg Mort4-May-09 9:40
Greg Mort4-May-09 9:40 
General[Message Deleted] Pin
led mike4-May-09 10:51
led mike4-May-09 10:51 
GeneralRe: Cross Posted - Reposted Pin
Greg Mort4-May-09 10:56
Greg Mort4-May-09 10:56 
QuestionWhy do you ignore received suggestions? Pin
CPallini4-May-09 9:32
mveCPallini4-May-09 9:32 
AnswerRe: Why do you ignore received suggestions? Pin
Greg Mort4-May-09 9:42
Greg Mort4-May-09 9:42 
GeneralRe: Why do you ignore received suggestions? Pin
CPallini4-May-09 9:52
mveCPallini4-May-09 9:52 
GeneralRe: Why do you ignore received suggestions? Pin
Greg Mort4-May-09 9:57
Greg Mort4-May-09 9:57 
CPallini wrote:
Your question looks actually arising from a endianess problem; I doubt that a BitConverter-like class would be of any help.
Probably if you elaborate it a bit then we might properly appreciate your issue.


? like the question suggests I have converted it from big endian to little, but as stated I cannot just read straight into a double now, i must first grab the data into a char[], convert from big to small, then what I am left with is a char[] filled with binary data.. i need to convert from binary data into a double,int,or float... I could write my own function that would use the mantissa and all that for the float, but I don't think it should be that much trouble and there has to be an easier way of doing it
QuestionRe: Why do you ignore received suggestions? Pin
David Crow4-May-09 10:02
David Crow4-May-09 10:02 
AnswerRe: Why do you ignore received suggestions? Pin
Greg Mort4-May-09 10:08
Greg Mort4-May-09 10:08 
QuestionRe: Why do you ignore received suggestions? Pin
CPallini4-May-09 10:24
mveCPallini4-May-09 10:24 
AnswerRe: Why do you ignore received suggestions? Pin
Greg Mort4-May-09 10:49
Greg Mort4-May-09 10:49 
GeneralRe: Why do you ignore received suggestions? Pin
CPallini4-May-09 21:01
mveCPallini4-May-09 21:01 
GeneralRe: Why do you ignore received suggestions? Pin
harold aptroot4-May-09 10:30
harold aptroot4-May-09 10:30 
GeneralRe: Why do you ignore received suggestions? Pin
Greg Mort4-May-09 11:02
Greg Mort4-May-09 11:02 
Question[Message Deleted] Pin
Greg Mort4-May-09 8:30
Greg Mort4-May-09 8:30 
AnswerRe: why is 0x00,0x00,0x00,0x01 = 16777216 ? Should it not be = to 1? Pin
jeron14-May-09 9:05
jeron14-May-09 9:05 
GeneralRe: why is 0x00,0x00,0x00,0x01 = 16777216 ? Should it not be = to 1? Pin
Greg Mort4-May-09 9:10
Greg Mort4-May-09 9:10 
GeneralRe: why is 0x00,0x00,0x00,0x01 = 16777216 ? Should it not be = to 1? Pin
jeron14-May-09 9:15
jeron14-May-09 9:15 
QuestionAnnoying error for me Pin
CodingLover4-May-09 6:08
CodingLover4-May-09 6:08 
AnswerRe: Annoying error for me Pin
I am BATMAN4-May-09 6:12
I am BATMAN4-May-09 6:12 
QuestionRe: Annoying error for me Pin
David Crow4-May-09 7:59
David Crow4-May-09 7:59 
QuestionConvert a in_addr to an IPAddr Pin
I am BATMAN4-May-09 5:30
I am BATMAN4-May-09 5:30 
QuestionRe: Convert a in_addr to an IPAddr Pin
led mike4-May-09 7:24
led mike4-May-09 7:24 
AnswerRe: Convert a in_addr to an IPAddr Pin
I am BATMAN4-May-09 11:05
I am BATMAN4-May-09 11:05 

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.