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

C / C++ / MFC

 
GeneralRe: ownerdraw round button question Pin
HOW WHAT4-Jul-06 21:16
HOW WHAT4-Jul-06 21:16 
Questioncombobox editing Pin
Ram Murali4-Jul-06 17:39
Ram Murali4-Jul-06 17:39 
AnswerRe: combobox editing Pin
FarPointer4-Jul-06 17:59
FarPointer4-Jul-06 17:59 
AnswerRe: combobox editing Pin
see me4-Jul-06 18:00
see me4-Jul-06 18:00 
Questionsending and receiving float Pin
thathvamsi4-Jul-06 16:54
thathvamsi4-Jul-06 16:54 
AnswerRe: sending and receiving float Pin
Nibu babu thomas4-Jul-06 17:23
Nibu babu thomas4-Jul-06 17:23 
GeneralRe: sending and receiving float Pin
thathvamsi4-Jul-06 20:34
thathvamsi4-Jul-06 20:34 
AnswerRe: sending and receiving float Pin
Jörgen Sigvardsson4-Jul-06 23:48
Jörgen Sigvardsson4-Jul-06 23:48 
Or how about:
unsigned char* byteptr = (unsigned char*)&floatVal;
for(int i = 0; i < sizeof(float); ++i)
   Send(byteptr[i]);
You can use this technique for any struct/basic type, without having to create a "converter" union for each type.


--
For External Use Only
Questionc control list Pin
kamalesh824-Jul-06 16:34
kamalesh824-Jul-06 16:34 
AnswerRe: c control list Pin
Sarath C4-Jul-06 19:39
Sarath C4-Jul-06 19:39 
QuestionMDI with VC6.0 workspace fileview like function Pin
zeus_master4-Jul-06 16:06
zeus_master4-Jul-06 16:06 
QuestionSorenson H.263 Pin
RedDragon2k4-Jul-06 15:45
RedDragon2k4-Jul-06 15:45 
QuestionEditable comboBox Pin
Ram Murali4-Jul-06 15:25
Ram Murali4-Jul-06 15:25 
AnswerRe: Editable comboBox Pin
Jun Du4-Jul-06 15:52
Jun Du4-Jul-06 15:52 
GeneralRe: Editable comboBox Pin
Ram Murali4-Jul-06 16:07
Ram Murali4-Jul-06 16:07 
GeneralRe: Editable comboBox Pin
Jun Du5-Jul-06 3:34
Jun Du5-Jul-06 3:34 
QuestionWeird Class name Pin
Jay034-Jul-06 14:53
Jay034-Jul-06 14:53 
AnswerRe: Weird Class name Pin
Chris Losinger4-Jul-06 15:40
professionalChris Losinger4-Jul-06 15:40 
QuestionText Length Pin
locoone4-Jul-06 14:19
locoone4-Jul-06 14:19 
AnswerRe: Text Length Pin
Chris Losinger4-Jul-06 14:30
professionalChris Losinger4-Jul-06 14:30 
GeneralRe: Text Length Pin
locoone4-Jul-06 14:32
locoone4-Jul-06 14:32 
GeneralRe: Text Length Pin
Chris Losinger4-Jul-06 15:34
professionalChris Losinger4-Jul-06 15:34 
QuestionSyntax related question [modified] Pin
Jay034-Jul-06 11:37
Jay034-Jul-06 11:37 
AnswerRe: Syntax related question Pin
Jörgen Sigvardsson4-Jul-06 11:47
Jörgen Sigvardsson4-Jul-06 11:47 
Questionvirtual destructors [modified] Pin
Jay034-Jul-06 10:59
Jay034-Jul-06 10:59 

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.