Click here to Skip to main content
15,894,343 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralStruct issue Pin
Alexander M.,2-Apr-04 4:06
Alexander M.,2-Apr-04 4:06 
GeneralRe: Struct issue Pin
Vitali Halershtein2-Apr-04 4:15
Vitali Halershtein2-Apr-04 4:15 
GeneralRe: Struct issue Pin
Alexander M.,2-Apr-04 6:02
Alexander M.,2-Apr-04 6:02 
GeneralRe: Struct issue Pin
John M. Drescher2-Apr-04 4:28
John M. Drescher2-Apr-04 4:28 
GeneralRe: Struct issue Pin
Alexander M.,2-Apr-04 6:01
Alexander M.,2-Apr-04 6:01 
GeneralRe: Struct issue Pin
John M. Drescher2-Apr-04 7:12
John M. Drescher2-Apr-04 7:12 
GeneralRe: Struct issue Pin
Alexander M.,2-Apr-04 7:36
Alexander M.,2-Apr-04 7:36 
GeneralRe: Struct issue Pin
Maxwell Chen2-Apr-04 7:49
Maxwell Chen2-Apr-04 7:49 
Yes, you are right. But how strange ... although I remembered that in C++ syntax, we only have to write this way for bit field:
struct SS
{
  unsigned A : 13;
  unsigned B : 1;
  unsigned C : 1;
  unsigned D : 1;
}; // size = 4. 


But with pragma of VisualC++7, the previous acts different to:
struct SS
{
  unsigned short A : 13;
  unsigned short B : 1;
  unsigned short C : 1;
  unsigned short D : 1;
}; // size = 2. 



Maxwell Chen
GeneralRe: Struct issue Pin
Anonymous2-Apr-04 11:15
Anonymous2-Apr-04 11:15 
GeneralWrite a matrix to a txt file Pin
dairiseky2-Apr-04 3:15
dairiseky2-Apr-04 3:15 
GeneralRe: Write a matrix to a txt file Pin
David Crow2-Apr-04 4:01
David Crow2-Apr-04 4:01 
GeneralRe: Write a matrix to a txt file Pin
dairiseky2-Apr-04 4:26
dairiseky2-Apr-04 4:26 
GeneralRe: Write a matrix to a txt file Pin
David Crow2-Apr-04 4:56
David Crow2-Apr-04 4:56 
GeneralCTreeCtrl sort parameters getting corrupted Pin
roybrew2-Apr-04 2:17
roybrew2-Apr-04 2:17 
GeneralLoadLibrary Error Pin
JeabJB2-Apr-04 2:07
JeabJB2-Apr-04 2:07 
GeneralRe: LoadLibrary Error Pin
Alexander M.,2-Apr-04 2:13
Alexander M.,2-Apr-04 2:13 
GeneralRe: LoadLibrary Error Pin
JeabJB2-Apr-04 2:29
JeabJB2-Apr-04 2:29 
GeneralRe: LoadLibrary Error Pin
David Crow2-Apr-04 2:56
David Crow2-Apr-04 2:56 
GeneralRe: LoadLibrary Error Pin
JeabJB2-Apr-04 3:10
JeabJB2-Apr-04 3:10 
GeneralRe: LoadLibrary Error Pin
David Crow2-Apr-04 3:23
David Crow2-Apr-04 3:23 
GeneralRe: LoadLibrary Error Pin
JeabJB2-Apr-04 3:34
JeabJB2-Apr-04 3:34 
GeneralRe: LoadLibrary Error Pin
David Crow2-Apr-04 3:38
David Crow2-Apr-04 3:38 
GeneralRe: LoadLibrary Error Pin
JeabJB2-Apr-04 3:49
JeabJB2-Apr-04 3:49 
GeneralRe: LoadLibrary Error Pin
David Crow2-Apr-04 4:05
David Crow2-Apr-04 4:05 
Generaliterator Pin
Jerome Conus2-Apr-04 1:53
Jerome Conus2-Apr-04 1:53 

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.