Click here to Skip to main content
16,006,749 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalenum problem Pin
Ista10-May-05 16:12
Ista10-May-05 16:12 
GeneralRe: enum problem Pin
Christian Graus10-May-05 16:40
protectorChristian Graus10-May-05 16:40 
GeneralClose IE. Pin
Member 46884410-May-05 15:17
Member 46884410-May-05 15:17 
GeneralRe: Close IE. Pin
Aamir Butt10-May-05 21:27
Aamir Butt10-May-05 21:27 
GeneralRe: Close IE. Pin
ThatsAlok10-May-05 22:52
ThatsAlok10-May-05 22:52 
GeneralRe: Close IE. Pin
David Crow11-May-05 3:41
David Crow11-May-05 3:41 
GeneralRe: Close IE. Pin
Member 46884411-May-05 21:32
Member 46884411-May-05 21:32 
GeneralByte conversion?! Pin
Shining200510-May-05 11:54
Shining200510-May-05 11:54 
Hi Guys.

I was reading through one of Mike's articles on sockets. And I just CANT
seems to wrap my brain around this one:

BYTE* bp = (BYTE*)(&dataLength) + sizeof(dataLength) - cbLeftToReceive;
I got this far:

(Its a Byte)(Called bp) = (Point to Byte)(&WHAT?!?!) + Something?
Okay now I'm lost.. I simply dont get the (&dataLength), now Datalength
is just an int, so what with the (&int) what does it do?

What does the syntax here mean?

Somebody please help me out!

Shine
GeneralRe: Byte conversion?! Pin
PJ Arends10-May-05 12:16
professionalPJ Arends10-May-05 12:16 
Generalconvert a DWORD to BYTE[4] Pin
bouli10-May-05 11:27
bouli10-May-05 11:27 
GeneralRe: convert a DWORD to BYTE[4] Pin
PJ Arends10-May-05 11:49
professionalPJ Arends10-May-05 11:49 
GeneralRe: convert a DWORD to BYTE[4] Pin
Michael Dunn10-May-05 13:02
sitebuilderMichael Dunn10-May-05 13:02 
GeneralRe: convert a DWORD to BYTE[4] Pin
bouli10-May-05 13:10
bouli10-May-05 13:10 
GeneralRe: convert a DWORD to BYTE[4] Pin
Mike_V10-May-05 13:30
Mike_V10-May-05 13:30 
GeneralRe: convert a DWORD to BYTE[4] Pin
Michael Dunn10-May-05 15:27
sitebuilderMichael Dunn10-May-05 15:27 
GeneralRe: convert a DWORD to BYTE[4] Pin
softwero10-May-05 18:42
softwero10-May-05 18:42 
GeneralRe: convert a DWORD to BYTE[4] Pin
Priyank Bolia10-May-05 22:43
Priyank Bolia10-May-05 22:43 
GeneralRe: convert a DWORD to BYTE[4] Pin
David Crow11-May-05 3:43
David Crow11-May-05 3:43 
GeneralRe: convert a DWORD to BYTE[4] Pin
Priyank Bolia11-May-05 3:55
Priyank Bolia11-May-05 3:55 
QuestionHow to compare two HTML files Pin
Mohsen Saad10-May-05 10:50
Mohsen Saad10-May-05 10:50 
AnswerRe: How to compare two HTML files Pin
P-Rex10-May-05 20:27
P-Rex10-May-05 20:27 
GeneralStartDoc Pin
Daniel Kanev10-May-05 10:03
Daniel Kanev10-May-05 10:03 
GeneralDisabling an EN_CHANGE Event Pin
NikoiD10-May-05 9:15
NikoiD10-May-05 9:15 
GeneralRe: Disabling an EN_CHANGE Event Pin
David Crow10-May-05 9:34
David Crow10-May-05 9:34 
GeneralRe: Disabling an EN_CHANGE Event Pin
PJ Arends10-May-05 9:35
professionalPJ Arends10-May-05 9:35 

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.