Click here to Skip to main content
15,888,521 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: STL sort problem [modified] Pin
_anil_7-Jun-06 16:47
_anil_7-Jun-06 16:47 
GeneralRe: STL sort problem [modified] Pin
Christian Graus7-Jun-06 16:59
protectorChristian Graus7-Jun-06 16:59 
GeneralRe: STL sort problem [modified] Pin
_anil_7-Jun-06 17:06
_anil_7-Jun-06 17:06 
QuestionReturning a reference... check my work, please Pin
MALDATA7-Jun-06 15:40
MALDATA7-Jun-06 15:40 
AnswerRe: Returning a reference... check my work, please Pin
Christian Graus7-Jun-06 16:19
protectorChristian Graus7-Jun-06 16:19 
GeneralRe: Returning a reference... check my work, please Pin
MALDATA7-Jun-06 18:12
MALDATA7-Jun-06 18:12 
GeneralRe: Returning a reference... check my work, please Pin
Michael Dunn7-Jun-06 19:28
sitebuilderMichael Dunn7-Jun-06 19:28 
Questionany body knows structures??? Pin
Inder gujral7-Jun-06 15:17
Inder gujral7-Jun-06 15:17 
Hi there,
I wanna read the boot sector of a floppy without using DeviceIoControl() function.So i just made a structure shown below;

struct boot_sector
{
char jump[3];
char name[8];
unsigned char secpercluster;
short int bytepersec;
short int reserved;
unsigned char fatcopy;
short int maxdirentry;
short int totalsec;
unsigned char mediadescriptor;
short int secperfat;
short int secoertrack;
short int noofsides;
long int hiddensectors;
long int hugesectors;
unsigned char biosdriveno;
unsigned char reservedsec;
unsigned char signature;
long int volumeid;
unsigned char volumelabel[11];
char filesystem[8];
}bt;

Now the size of the structure should be 62 bytes but vc++ compiler shows it to be 68 bytes .But i hav cross checked it using borland c++ compiler.In that also the sixe is 62 bytes. Can anybody help me out of this ,specially u nish. Suggest me something plzzzzz..
AnswerRe: any body knows structures??? Pin
Christian Graus7-Jun-06 17:01
protectorChristian Graus7-Jun-06 17:01 
GeneralRe: any body knows structures??? Pin
bob169727-Jun-06 18:31
bob169727-Jun-06 18:31 
AnswerRe: any body knows structures??? Pin
Michael Dunn7-Jun-06 19:29
sitebuilderMichael Dunn7-Jun-06 19:29 
GeneralRe: any body knows structures??? Pin
NiceNaidu7-Jun-06 19:59
NiceNaidu7-Jun-06 19:59 
QuestionHow to enable CDialogBar always? Pin
Yusuf7-Jun-06 14:53
Yusuf7-Jun-06 14:53 
QuestionASSERT(::IsWindow(m_hWnd)); Pin
DanYELL7-Jun-06 14:01
DanYELL7-Jun-06 14:01 
AnswerRe: ASSERT(::IsWindow(m_hWnd)); [modified] Pin
bob169727-Jun-06 17:26
bob169727-Jun-06 17:26 
QuestionCallback function arguments Pin
vasanth10047-Jun-06 12:42
vasanth10047-Jun-06 12:42 
AnswerRe: Callback function arguments Pin
Cedric Moonen7-Jun-06 20:20
Cedric Moonen7-Jun-06 20:20 
GeneralRe: Callback function arguments Pin
vasanth10048-Jun-06 3:51
vasanth10048-Jun-06 3:51 
GeneralRe: Callback function arguments Pin
Cedric Moonen8-Jun-06 3:58
Cedric Moonen8-Jun-06 3:58 
GeneralRe: Callback function arguments Pin
vasanth10048-Jun-06 4:45
vasanth10048-Jun-06 4:45 
GeneralRe: Callback function arguments Pin
Cedric Moonen8-Jun-06 4:57
Cedric Moonen8-Jun-06 4:57 
QuestionRetrieve Process %CPU Usage and Thread Count Pin
Nonna147-Jun-06 11:19
Nonna147-Jun-06 11:19 
AnswerRe: Retrieve Process %CPU Usage and Thread Count Pin
Naveen7-Jun-06 17:43
Naveen7-Jun-06 17:43 
AnswerRe: Retrieve Process %CPU Usage and Thread Count Pin
ThatsAlok7-Jun-06 19:54
ThatsAlok7-Jun-06 19:54 
Questionplugin support coding in c++ project(advice please) Pin
sawerr7-Jun-06 11:14
sawerr7-Jun-06 11:14 

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.