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

C / C++ / MFC

 
GeneralCComMultiThreadModelNoCS Pin
George_George6-Apr-08 19:53
George_George6-Apr-08 19:53 
QuestionATL bug of CComPtr? Pin
George_George6-Apr-08 19:42
George_George6-Apr-08 19:42 
AnswerRe: ATL bug of CComPtr? Pin
CPallini6-Apr-08 22:14
mveCPallini6-Apr-08 22:14 
GeneralRe: ATL bug of CComPtr? Pin
George_George6-Apr-08 22:26
George_George6-Apr-08 22:26 
GeneralRe: ATL bug of CComPtr? Pin
CPallini6-Apr-08 23:09
mveCPallini6-Apr-08 23:09 
GeneralRe: ATL bug of CComPtr? Pin
George_George6-Apr-08 23:12
George_George6-Apr-08 23:12 
QuestionProblem with Binary Tree Program [modified] Pin
Member 42588976-Apr-08 17:58
Member 42588976-Apr-08 17:58 
GeneralRe: Problem with Binary Tree Program Pin
Member 42588978-Apr-08 16:32
Member 42588978-Apr-08 16:32 
Referring to the above codes, I see that when I print the children of the left tree, it gives me segmentation fault. Can somebody please point out why I am getting segmentation fault for the cout statement in the codes below:

 if (edit(B,C)<r)>
        {
 
           if (temp->LCh==NULL)
            { 
              t1->val = B;

              temp->LCh=t1;
           
            }
       else
           {         

                     TreeNode* t = new TreeNode();
                     t->val = B;
                                  
                     temp->LCh=temp->LCh->t;         
                     cout<<temp->LCh->val<<endl; // gives segmentation fault
           }
        }

</r)>


Any help much appreciated.
Questionhow to spy++ a windows which will hide when it lose focus? Pin
code_discuss6-Apr-08 17:24
code_discuss6-Apr-08 17:24 
GeneralRe: how to spy++ a windows which will hide when it lose focus? Pin
CPallini6-Apr-08 21:35
mveCPallini6-Apr-08 21:35 
GeneralRe: how to spy++ a windows which will hide when it lose focus? Pin
code_discuss6-Apr-08 21:55
code_discuss6-Apr-08 21:55 
GeneralCStdioFile problem Pin
lisoft6-Apr-08 16:24
lisoft6-Apr-08 16:24 
GeneralRe: CStdioFile problem Pin
nisha000006-Apr-08 18:11
nisha000006-Apr-08 18:11 
GeneralRe: CStdioFile problem Pin
lisoft6-Apr-08 18:47
lisoft6-Apr-08 18:47 
GeneralRe: CStdioFile problem Pin
nisha000006-Apr-08 19:40
nisha000006-Apr-08 19:40 
GeneralRe: CStdioFile problem Pin
krmed7-Apr-08 1:50
krmed7-Apr-08 1:50 
GeneralRe: CStdioFile problem Pin
lisoft7-Apr-08 15:18
lisoft7-Apr-08 15:18 
GeneralRe: CStdioFile problem Pin
krmed8-Apr-08 0:47
krmed8-Apr-08 0:47 
GeneralRe: CStdioFile problem Pin
Hamid_RT8-Apr-08 7:21
Hamid_RT8-Apr-08 7:21 
GeneralOn implementing a virtual keyboard Pin
Llasus6-Apr-08 16:10
Llasus6-Apr-08 16:10 
QuestionWhere Does a static attribute reside in a Object ?? Pin
ForNow6-Apr-08 15:57
ForNow6-Apr-08 15:57 
AnswerRe: Where Does a static attribute reside in a Object ?? Pin
Dan6-Apr-08 17:53
Dan6-Apr-08 17:53 
GeneralRe: Where Does a static attribute reside in a Object ?? Pin
ForNow7-Apr-08 15:52
ForNow7-Apr-08 15:52 
GeneralFile Access Privileges Pin
Richard Andrew x646-Apr-08 15:56
professionalRichard Andrew x646-Apr-08 15:56 
Generallink adatabase to adialog based application Pin
lahom6-Apr-08 12:29
lahom6-Apr-08 12:29 

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.