Click here to Skip to main content
16,004,587 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Set font to bold in resource Pin
ThatsAlok16-Jul-09 20:56
ThatsAlok16-Jul-09 20:56 
QuestionAnnoying build problem with VC++ 2005 Pin
Sylv3322-May-08 21:32
Sylv3322-May-08 21:32 
AnswerRe: Annoying build problem with VC++ 2005 Pin
Malli_S22-May-08 21:53
Malli_S22-May-08 21:53 
GeneralRe: Annoying build problem with VC++ 2005 Pin
Sylv3322-May-08 22:08
Sylv3322-May-08 22:08 
AnswerRe: Annoying build problem with VC++ 2005 Pin
JudyL_MD23-May-08 1:49
JudyL_MD23-May-08 1:49 
Questionvariable of less than a byte Pin
rp_suman22-May-08 20:44
rp_suman22-May-08 20:44 
AnswerRe: variable of less than a byte Pin
ShilpiP22-May-08 20:55
ShilpiP22-May-08 20:55 
AnswerRe: variable of less than a byte [modified] PinPopular
Rajkumar R22-May-08 21:08
Rajkumar R22-May-08 21:08 
you cannot for individual variable, but using structure bitfields you can specify the size of struct member variable in bits.

struct Date {
   unsigned short nWeekDay  : 3;    // 0..7   (3 bits)
   unsigned short nMonthDay : 6;    // 0..31  (6 bits)
   unsigned short nMonth    : 5;    // 0..12  (5 bits)
   unsigned short nYear     : 8;    // 0..100 (8 bits)
};


modified on Friday, May 23, 2008 3:14 AM

GeneralRe: variable of less than a byte Pin
ShilpiP22-May-08 21:28
ShilpiP22-May-08 21:28 
QuestionRe: variable of less than a byte Pin
chandu00422-May-08 21:50
chandu00422-May-08 21:50 
AnswerRe: variable of less than a byte Pin
CPallini22-May-08 22:08
mveCPallini22-May-08 22:08 
AnswerRe: variable of less than a byte Pin
ShilpiP22-May-08 22:33
ShilpiP22-May-08 22:33 
GeneralRe: variable of less than a byte Pin
chandu00424-May-08 2:52
chandu00424-May-08 2:52 
AnswerRe: variable of less than a byte Pin
Rajkumar R24-May-08 4:29
Rajkumar R24-May-08 4:29 
AnswerRe: variable of less than a byte Pin
Dan23-May-08 21:48
Dan23-May-08 21:48 
GeneralRe: variable of less than a byte Pin
toxcct22-May-08 23:37
toxcct22-May-08 23:37 
GeneralRe: variable of less than a byte Pin
Rajkumar R23-May-08 0:07
Rajkumar R23-May-08 0:07 
GeneralRe: variable of less than a byte Pin
Rajkumar R23-May-08 2:04
Rajkumar R23-May-08 2:04 
AnswerRe: variable of less than a byte Pin
toxcct22-May-08 23:41
toxcct22-May-08 23:41 
GeneralRe: variable of less than a byte Pin
rp_suman24-May-08 2:25
rp_suman24-May-08 2:25 
QuestionCString problem Pin
trioum22-May-08 20:26
trioum22-May-08 20:26 
AnswerRe: CString problem Pin
Cedric Moonen22-May-08 20:37
Cedric Moonen22-May-08 20:37 
GeneralRe: CString problem Pin
trioum22-May-08 20:51
trioum22-May-08 20:51 
GeneralRe: CString problem Pin
Cedric Moonen22-May-08 21:08
Cedric Moonen22-May-08 21:08 
GeneralRe: CString problem Pin
Rajesh R Subramanian22-May-08 21:24
professionalRajesh R Subramanian22-May-08 21:24 

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.