Click here to Skip to main content
14,391,105 members

C / C++ / MFC

 
GeneralRe: MFC VC++ Repopulating the ClistCtrl after database is updated through dialog Pin
Richard MacCutchan19-Sep-19 7:09
mveRichard MacCutchan19-Sep-19 7:09 
GeneralRe: MFC VC++ Repopulating the ClistCtrl after database is updated through dialog Pin
Member 1457555619-Sep-19 7:23
MemberMember 1457555619-Sep-19 7:23 
GeneralRe: MFC VC++ Repopulating the ClistCtrl after database is updated through dialog Pin
Victor Nijegorodov19-Sep-19 7:11
MemberVictor Nijegorodov19-Sep-19 7:11 
GeneralRe: MFC VC++ Repopulating the ClistCtrl after database is updated through dialog Pin
Member 1457555619-Sep-19 7:21
MemberMember 1457555619-Sep-19 7:21 
GeneralRe: MFC VC++ Repopulating the ClistCtrl after database is updated through dialog Pin
Victor Nijegorodov19-Sep-19 7:33
MemberVictor Nijegorodov19-Sep-19 7:33 
GeneralRe: MFC VC++ Repopulating the ClistCtrl after database is updated through dialog Pin
Member 1457555619-Sep-19 7:37
MemberMember 1457555619-Sep-19 7:37 
GeneralRe: MFC VC++ Repopulating the ClistCtrl after database is updated through dialog Pin
Victor Nijegorodov19-Sep-19 9:12
MemberVictor Nijegorodov19-Sep-19 9:12 
AnswerRe: MFC VC++ Repopulating the ClistCtrl after database is updated through dialog Pin
David Crow19-Sep-19 7:47
MemberDavid Crow19-Sep-19 7:47 
GeneralRe: MFC VC++ Repopulating the ClistCtrl after database is updated through dialog Pin
Member 1457555619-Sep-19 7:50
MemberMember 1457555619-Sep-19 7:50 
GeneralRe: MFC VC++ Repopulating the ClistCtrl after database is updated through dialog Pin
Victor Nijegorodov19-Sep-19 9:09
MemberVictor Nijegorodov19-Sep-19 9:09 
SuggestionRe: MFC VC++ Repopulating the ClistCtrl after database is updated through dialog Pin
David Crow19-Sep-19 10:29
MemberDavid Crow19-Sep-19 10:29 
QuestionDetermining length of Switch compare Pin
ForNow18-Sep-19 16:45
MemberForNow18-Sep-19 16:45 
AnswerRe: Determining length of Switch compare Pin
Peter_in_278018-Sep-19 17:49
professionalPeter_in_278018-Sep-19 17:49 
GeneralRe: Determining length of Switch compare Pin
ForNow19-Sep-19 2:32
MemberForNow19-Sep-19 2:32 
AnswerRe: Determining length of Switch compare Pin
Richard MacCutchan18-Sep-19 21:55
mveRichard MacCutchan18-Sep-19 21:55 
GeneralRe: Determining length of Switch compare Pin
ForNow19-Sep-19 2:32
MemberForNow19-Sep-19 2:32 
AnswerRe: Determining length of Switch compare Pin
Stefan_Lang19-Sep-19 3:23
MemberStefan_Lang19-Sep-19 3:23 
GeneralRe: Determining length of Switch compare Pin
ForNow19-Sep-19 5:06
MemberForNow19-Sep-19 5:06 
AnswerRe: Determining length of Switch compare Pin
leon de boer19-Sep-19 5:38
Memberleon de boer19-Sep-19 5:38 
GeneralRe: Determining length of Switch compare Pin
ForNow19-Sep-19 6:11
MemberForNow19-Sep-19 6:11 
GeneralRe: Determining length of Switch compare Pin
leon de boer28-Sep-19 15:57
Memberleon de boer28-Sep-19 15:57 
QuestionC++ string assignment to struct Pin
Fotsing18-Sep-19 12:54
MemberFotsing18-Sep-19 12:54 
AnswerRe: C++ string assignment to struct Pin
Richard MacCutchan18-Sep-19 21:26
mveRichard MacCutchan18-Sep-19 21:26 
GeneralRe: C++ string assignment to struct Pin
Fotsing18-Sep-19 23:33
MemberFotsing18-Sep-19 23:33 
GeneralRe: C++ string assignment to struct Pin
Stefan_Lang19-Sep-19 3:12
MemberStefan_Lang19-Sep-19 3:12 
That is because you are assigning arrays to arrays, and that is invalid code in C/C++:
phone[j].num=phone[j+1].num;
phone[j].TphoneN=phone[j+1].TphoneN;
phone[j].name=phone[j+1].name;

You can use the appropriate functions for C strings, e. g. strcpy. But it would be much better if you just used std::string instead of C strings!
GOTOs are a bit like wire coat hangers: they tend to breed in the darkness, such that where there once were few, eventually there are many, and the program's architecture collapses beneath them. (Fran Poretto)

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.