Click here to Skip to main content
16,021,430 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionforeach....recursively - assistance with C++ code wnated Pin
Salvatore Terress8-May-24 6:08
Salvatore Terress8-May-24 6:08 
AnswerRe: foreach....recursively - assistance with C++ code wnated Pin
k50548-May-24 7:03
mvek50548-May-24 7:03 
GeneralRe: foreach....recursively - assistance with C++ code wnated Pin
Salvatore Terress8-May-24 8:19
Salvatore Terress8-May-24 8:19 
GeneralRe: foreach....recursively - assistance with C++ code wnated Pin
k50548-May-24 8:57
mvek50548-May-24 8:57 
GeneralRe: foreach....recursively - assistance with C++ code wnated Pin
Salvatore Terress8-May-24 17:09
Salvatore Terress8-May-24 17:09 
GeneralRe: foreach....recursively - assistance with C++ code wnated Pin
Salvatore Terress10-May-24 13:23
Salvatore Terress10-May-24 13:23 
Questionvoluntarily REMOVED Which way is correct ? Pin
Salvatore Terress6-May-24 10:19
Salvatore Terress6-May-24 10:19 
AnswerRe: Which way is correct ? Pin
Richard MacCutchan7-May-24 0:29
mveRichard MacCutchan7-May-24 0:29 
1. This has nothing to do with templates.
2. If you change the word pTEST in the first example to actionList, you will see that they are both exactly the same. Barring, of course the line:
text += "  match ";

which is not present in the second sample.

And since the findChildren function returns a list of QAction* items, it matters not whether you specify it explicitly, or leave the compiler to infer it from the context.
AnswerRe: voluntarily REMOVED Which way is correct ? Pin
Richard MacCutchan9-May-24 5:59
mveRichard MacCutchan9-May-24 5:59 
QuestionPassing "parent" error Pin
Salvatore Terress4-May-24 6:51
Salvatore Terress4-May-24 6:51 
AnswerRe: Passing "parent" error Pin
Richard MacCutchan5-May-24 2:45
mveRichard MacCutchan5-May-24 2:45 
Questionchange exe icon not work with multiple stage icon file. Pin
Le@rner1-May-24 2:26
Le@rner1-May-24 2:26 
AnswerRe: change exe icon not work with multiple stage icon file. Pin
Victor Nijegorodov1-May-24 4:21
Victor Nijegorodov1-May-24 4:21 
GeneralRe: change exe icon not work with multiple stage icon file. Pin
jschell1-May-24 13:09
jschell1-May-24 13:09 
AnswerRe: change exe icon not work with multiple stage icon file. Pin
CPallini2-May-24 4:07
mveCPallini2-May-24 4:07 
GeneralRe: change exe icon not work with multiple stage icon file. Pin
Dave Kreskowiak2-May-24 4:11
mveDave Kreskowiak2-May-24 4:11 
GeneralRe: change exe icon not work with multiple stage icon file. Pin
CPallini2-May-24 4:14
mveCPallini2-May-24 4:14 
QuestionSOLVED Posting "debug (window ) view ? Pin
Salvatore Terress30-Apr-24 2:51
Salvatore Terress30-Apr-24 2:51 
AnswerRe: Posting "debug (window ) view ? Pin
Maximilien30-Apr-24 2:56
Maximilien30-Apr-24 2:56 
AnswerRe: Posting "debug (window ) view ? Pin
Victor Nijegorodov30-Apr-24 3:40
Victor Nijegorodov30-Apr-24 3:40 
GeneralNavigating thru debug messages using C++ code Pin
Salvatore Terress3-May-24 4:08
Salvatore Terress3-May-24 4:08 
GeneralRe: Navigating thru debug messages using C++ code Pin
Victor Nijegorodov3-May-24 4:13
Victor Nijegorodov3-May-24 4:13 
GeneralRe: Navigating thru debug messages using C++ code Pin
Salvatore Terress3-May-24 6:49
Salvatore Terress3-May-24 6:49 
GeneralRe: Navigating thru debug messages using C++ code Pin
Victor Nijegorodov3-May-24 11:41
Victor Nijegorodov3-May-24 11:41 
GeneralRe: Navigating thru debug messages using C++ code Pin
Richard MacCutchan3-May-24 22:20
mveRichard MacCutchan3-May-24 22:20 

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.