Click here to Skip to main content
15,884,099 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: master file table Pin
mdocvc30-Jun-10 6:52
mdocvc30-Jun-10 6:52 
AnswerRe: master file table Pin
Member 419459329-Jun-10 16:08
Member 419459329-Jun-10 16:08 
QuestionPass Message to Window Procedure Pin
Fareed Rizkalla29-Jun-10 7:26
Fareed Rizkalla29-Jun-10 7:26 
AnswerRe: Pass Message to Window Procedure Pin
Rajesh R Subramanian29-Jun-10 7:30
professionalRajesh R Subramanian29-Jun-10 7:30 
AnswerRe: Pass Message to Window Procedure Pin
«_Superman_»29-Jun-10 15:16
professional«_Superman_»29-Jun-10 15:16 
Questionwhy segmentation fault ! Pin
wbgxx29-Jun-10 7:07
wbgxx29-Jun-10 7:07 
AnswerRe: why segmentation fault ! Pin
Aescleal29-Jun-10 7:31
Aescleal29-Jun-10 7:31 
GeneralRe: why segmentation fault ! Pin
wbgxx29-Jun-10 7:38
wbgxx29-Jun-10 7:38 
thanks !

but I still have question why this can be run

#include <iostream.h>
#include <cstring>
void swap(char *,char *);
int main()
{char str1[20]="hello",str2[20]="how are you ";
      char pt[20];
 cout<<"str1"<<"  "<<str1<<endl;
 cout<<"str2"<<"  "<<str2<<endl;
 strcpy(pt,str1);
 strcpy(str1,str2);
 strcpy(str2,pt);
 cout<<"str1"<<"  "<<str1<<endl;
 cout<<"str2"<<"  "<<str2<<endl;
 return 0;
}

GeneralRe: why segmentation fault ! Pin
Aescleal29-Jun-10 8:02
Aescleal29-Jun-10 8:02 
GeneralRe: why segmentation fault ! Pin
David Crow29-Jun-10 9:10
David Crow29-Jun-10 9:10 
GeneralRe: why segmentation fault ! Pin
Aescleal29-Jun-10 9:21
Aescleal29-Jun-10 9:21 
AnswerRe: why segmentation fault ! Pin
Fareed Rizkalla29-Jun-10 7:33
Fareed Rizkalla29-Jun-10 7:33 
AnswerRe: why segmentation fault ! Pin
Hristo-Bojilov29-Jun-10 7:42
Hristo-Bojilov29-Jun-10 7:42 
GeneralRe: why segmentation fault ! Pin
wbgxx29-Jun-10 7:46
wbgxx29-Jun-10 7:46 
GeneralRe: why segmentation fault ! Pin
Aescleal29-Jun-10 8:53
Aescleal29-Jun-10 8:53 
AnswerRe: why segmentation fault ! Pin
Niklas L29-Jun-10 8:37
Niklas L29-Jun-10 8:37 
QuestionSysListView32 help needed Pin
iceeeeman29-Jun-10 7:02
iceeeeman29-Jun-10 7:02 
QuestionRe: SysListView32 help needed Pin
David Crow29-Jun-10 7:16
David Crow29-Jun-10 7:16 
AnswerRe: SysListView32 help needed Pin
iceeeeman29-Jun-10 7:28
iceeeeman29-Jun-10 7:28 
GeneralRe: SysListView32 help needed Pin
Luc Pattyn29-Jun-10 7:50
sitebuilderLuc Pattyn29-Jun-10 7:50 
GeneralRe: SysListView32 help needed Pin
iceeeeman29-Jun-10 7:57
iceeeeman29-Jun-10 7:57 
QuestionRe: SysListView32 help needed Pin
David Crow29-Jun-10 8:02
David Crow29-Jun-10 8:02 
AnswerRe: SysListView32 help needed Pin
iceeeeman29-Jun-10 8:06
iceeeeman29-Jun-10 8:06 
AnswerRe: SysListView32 help needed Pin
Luc Pattyn29-Jun-10 8:12
sitebuilderLuc Pattyn29-Jun-10 8:12 
AnswerRe: SysListView32 help needed Pin
David Crow29-Jun-10 8:18
David Crow29-Jun-10 8:18 

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.