Click here to Skip to main content
15,901,373 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: random (or pseudo) random array of 100.000 positions Pin
PJ Arends21-Oct-04 6:24
professionalPJ Arends21-Oct-04 6:24 
GeneralRe: random (or pseudo) random array of 100.000 positions Pin
doctorpi21-Oct-04 6:26
doctorpi21-Oct-04 6:26 
GeneralInternet suggestion needed Pin
includeh1021-Oct-04 4:21
includeh1021-Oct-04 4:21 
GeneralRe: Internet suggestion needed Pin
Yulianto.21-Oct-04 22:47
Yulianto.21-Oct-04 22:47 
GeneralRe: Internet suggestion needed Pin
Yulianto.21-Oct-04 22:51
Yulianto.21-Oct-04 22:51 
GeneralPostMessage Help Pin
Keith La Force21-Oct-04 4:03
Keith La Force21-Oct-04 4:03 
GeneralRe: PostMessage Help Pin
Phil J Pearson21-Oct-04 4:10
Phil J Pearson21-Oct-04 4:10 
Questionsizeof(), can u explain? Pin
includeh1021-Oct-04 3:39
includeh1021-Oct-04 3:39 
struct S2
{
WORD w0;
};

struct S6A
{
WORD w0;
DWORD dw0;
};
struct S6B
{
WORD w0,w1;
WORD w2;
};


struct S10A
{
WORD w0;
DWORD dw0;
DWORD dw1;
};
struct S10B
{
WORD w0,w1,w2,w3,w4;
};

if use sizeof() to calculate size of structs above, they are
2, 8, 6, 12, 10 respectively (tested on windows OS - not DOS).

align? why in this way?
















includeh10
AnswerRe: sizeof(), can u explain? Pin
Michael Dunn21-Oct-04 3:45
sitebuilderMichael Dunn21-Oct-04 3:45 
AnswerRe: sizeof(), can u explain? Pin
David Crow21-Oct-04 3:46
David Crow21-Oct-04 3:46 
AnswerRe: sizeof(), can u explain? Pin
Anonymous21-Oct-04 3:48
Anonymous21-Oct-04 3:48 
AnswerRe: sizeof(), can u explain? Pin
includeh1021-Oct-04 3:51
includeh1021-Oct-04 3:51 
GeneralRe: sizeof(), can u explain? Pin
Maximilien21-Oct-04 5:08
Maximilien21-Oct-04 5:08 
GeneralRe: sizeof(), can u explain? Pin
Henry miller21-Oct-04 9:02
Henry miller21-Oct-04 9:02 
GeneralSplash screen Pin
verma-rahul21-Oct-04 3:33
verma-rahul21-Oct-04 3:33 
GeneralRe: Splash screen Pin
Vikram Kashyap21-Oct-04 3:50
Vikram Kashyap21-Oct-04 3:50 
GeneralRe: Splash screen Pin
verma-rahul21-Oct-04 5:13
verma-rahul21-Oct-04 5:13 
GeneralAdding emotions in rich text Pin
verma-rahul21-Oct-04 3:22
verma-rahul21-Oct-04 3:22 
Generalusing CWebBrowser2 Pin
includeh1021-Oct-04 3:19
includeh1021-Oct-04 3:19 
GeneralRe: using CWebBrowser2 Pin
Michael Dunn21-Oct-04 3:35
sitebuilderMichael Dunn21-Oct-04 3:35 
GeneralRe: using CWebBrowser2 Pin
Maximilien21-Oct-04 3:39
Maximilien21-Oct-04 3:39 
GeneralRe: using CWebBrowser2 Pin
includeh1021-Oct-04 3:46
includeh1021-Oct-04 3:46 
GeneralThe Question about bitmaps Pin
Rassul Yunussov21-Oct-04 3:12
Rassul Yunussov21-Oct-04 3:12 
Generalstatic link libraries Pin
ackabacka21-Oct-04 2:42
ackabacka21-Oct-04 2:42 
GeneralRe: static link libraries Pin
Michael Dunn21-Oct-04 3:40
sitebuilderMichael Dunn21-Oct-04 3:40 

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.