Click here to Skip to main content
15,897,187 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CHeaderCtrl::SetImageList Pin
Owner drawn15-Jan-06 19:43
Owner drawn15-Jan-06 19:43 
GeneralRe: CHeaderCtrl::SetImageList Pin
paper6716-Jan-06 8:05
paper6716-Jan-06 8:05 
Questionsingle/multiple selection in List control Pin
IlanTal15-Jan-06 4:08
IlanTal15-Jan-06 4:08 
AnswerRe: single/multiple selection in List control Pin
FarPointer15-Jan-06 4:28
FarPointer15-Jan-06 4:28 
AnswerRe: single/multiple selection in List control Pin
sps-itsec4615-Jan-06 6:55
sps-itsec4615-Jan-06 6:55 
GeneralRe: single/multiple selection in List control Pin
IlanTal15-Jan-06 19:17
IlanTal15-Jan-06 19:17 
Questionneed suggestion(constructer? / better?) Pin
neodeaths14-Jan-06 23:33
neodeaths14-Jan-06 23:33 
AnswerRe: need suggestion(constructer? / better?) Pin
includeh1015-Jan-06 3:38
includeh1015-Jan-06 3:38 
it is related to compiler.
E.g.
int i; //or a pointer
the value of i may be initialized as zero by some compiler, but not all.

good habit is that you initialize them yourself.
u can change code as:

===========================
int main()
{
int *ptr[2];

//====== initialize all to null
int i,iNum=sizeof(ptr)/sizeof(ptr[0]);
for(i=0;i<iNum;i++) ptr[i]=0;
//====== end enitilization

if(ptr[0] = null)
{
cout<<"this is empty"<<endl;
}


<hr style="marginBlush | :O ; width:405; text-align: left;">A nice <b><a style="text-decoration: underline;" href="http://www.syncedit.com/software/hypercare/" target="_new">tool</a></b> for optimizing your Microsoft <font color="#ff0000">html-help</font> contents.

Includeh10








-- modified at 9:41 Sunday 15th January, 2006
GeneralRe: need suggestion(constructer? / better?) Pin
Michel Wassink15-Jan-06 4:09
Michel Wassink15-Jan-06 4:09 
AnswerRe: need suggestion(constructer? / better?) Pin
Gary R. Wheeler15-Jan-06 3:54
Gary R. Wheeler15-Jan-06 3:54 
AnswerRe: need suggestion(constructer? / better?) Pin
Nish Nishant15-Jan-06 4:05
sitebuilderNish Nishant15-Jan-06 4:05 
AnswerRe: need suggestion(constructer? / better?) Pin
vikas amin16-Jan-06 0:52
vikas amin16-Jan-06 0:52 
Questiondynamic memeory aloocation question Pin
neodeaths14-Jan-06 23:12
neodeaths14-Jan-06 23:12 
AnswerRe: dynamic memeory aloocation question Pin
includeh1015-Jan-06 4:00
includeh1015-Jan-06 4:00 
AnswerRe: dynamic memeory aloocation question Pin
Nish Nishant15-Jan-06 4:11
sitebuilderNish Nishant15-Jan-06 4:11 
GeneralRe: dynamic memeory aloocation question Pin
neodeaths15-Jan-06 4:31
neodeaths15-Jan-06 4:31 
GeneralRe: dynamic memeory aloocation question Pin
Nish Nishant15-Jan-06 5:35
sitebuilderNish Nishant15-Jan-06 5:35 
GeneralRe: dynamic memeory aloocation question Pin
Roland Pibinger15-Jan-06 5:42
Roland Pibinger15-Jan-06 5:42 
GeneralRe: dynamic memeory aloocation question Pin
Nish Nishant15-Jan-06 6:08
sitebuilderNish Nishant15-Jan-06 6:08 
AnswerRe: dynamic memeory aloocation question Pin
Roland Pibinger15-Jan-06 5:34
Roland Pibinger15-Jan-06 5:34 
QuestionDirectX Pin
AJ12314-Jan-06 22:13
AJ12314-Jan-06 22:13 
AnswerRe: DirectX Pin
CPP_Student15-Jan-06 20:23
CPP_Student15-Jan-06 20:23 
Questionlogger performance Pin
Chintoo72314-Jan-06 22:07
Chintoo72314-Jan-06 22:07 
QuestionRe: logger performance Pin
Roland Pibinger15-Jan-06 4:00
Roland Pibinger15-Jan-06 4:00 
AnswerRe: logger performance Pin
Chintoo72315-Jan-06 4:38
Chintoo72315-Jan-06 4:38 

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.