Click here to Skip to main content
15,568,859 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionheader file not being read (resource.h) Pin
ForNow11-Jan-22 14:29
ForNow11-Jan-22 14:29 
AnswerRe: header file not being read (resource.h) Pin
Mircea Neacsu11-Jan-22 14:38
Mircea Neacsu11-Jan-22 14:38 
GeneralRe: header file not being read (resource.h) Pin
ForNow11-Jan-22 15:06
ForNow11-Jan-22 15:06 
GeneralRe: header file not being read (resource.h) Pin
ForNow11-Jan-22 15:14
ForNow11-Jan-22 15:14 
AnswerRe: header file not being read (resource.h) Pin
Mircea Neacsu11-Jan-22 16:09
Mircea Neacsu11-Jan-22 16:09 
GeneralRe: header file not being read (resource.h) Pin
ForNow11-Jan-22 17:01
ForNow11-Jan-22 17:01 
QuestionImplementing variable length parameter - variadic funetion Pin
Member 149687719-Jan-22 8:59
Member 149687719-Jan-22 8:59 
AnswerRe: Implementing variable length parameter - variadic funetion Pin
k50549-Jan-22 9:38
mvek50549-Jan-22 9:38 
Member 14968771 wrote:
error: unknown type name 'num'

That's pretty clear, I think. But here's the scoop - when pulling arguments out of a va_list, the second argument to va_arg is a type, not a variable name. So in your case this should be
C++
QString s;
for(int i = 0; i < num; ++i)
  s = va_arg(args, QString)
Keep Calm and Carry On

GeneralRe: Implementing variable length parameter - variadic funetion Pin
Member 149687719-Jan-22 11:31
Member 149687719-Jan-22 11:31 
GeneralRe: Implementing variable length parameter - variadic funetion Pin
k50549-Jan-22 13:19
mvek50549-Jan-22 13:19 
GeneralRe: Implementing variable length parameter - variadic funetion Pin
Richard Andrew x649-Jan-22 12:30
professionalRichard Andrew x649-Jan-22 12:30 
GeneralRe: Implementing variable length parameter - variadic funetion Pin
k50549-Jan-22 13:24
mvek50549-Jan-22 13:24 
QuestionHelp with Bluetooth -seeking assistance with QT implementation of bluez library . Pin
Member 149687718-Jan-22 7:57
Member 149687718-Jan-22 7:57 
SuggestionRe: Help with Bluetooth -seeking assistance with QT implementation of bluez library . Pin
Richard Deeming9-Jan-22 22:27
mveRichard Deeming9-Jan-22 22:27 
Questionvacancy for google programmer with specification variation. (question) Pin
Dev Lil5-Jan-22 10:38
Dev Lil5-Jan-22 10:38 
AnswerRe: vacancy for google programmer with specification variation. (question) Pin
Dave Kreskowiak5-Jan-22 11:40
mveDave Kreskowiak5-Jan-22 11:40 
AnswerRe: vacancy for google programmer with specification variation. (question) Pin
Gerry Schmitz5-Jan-22 12:56
mveGerry Schmitz5-Jan-22 12:56 
AnswerRe: vacancy for google programmer with specification variation. (question) Pin
Stefan_Lang8-Jan-22 5:00
mveStefan_Lang8-Jan-22 5:00 
Questionquestion about CDC:Pie Pin
ForNow5-Jan-22 2:55
ForNow5-Jan-22 2:55 
AnswerRe: question about CDC:Pie Pin
Gerry Schmitz5-Jan-22 6:30
mveGerry Schmitz5-Jan-22 6:30 
GeneralRe: question about CDC:Pie Pin
ForNow5-Jan-22 6:43
ForNow5-Jan-22 6:43 
GeneralRe: question about CDC:Pie Pin
Gerry Schmitz5-Jan-22 8:14
mveGerry Schmitz5-Jan-22 8:14 
GeneralRe: question about CDC:Pie Pin
ForNow5-Jan-22 9:30
ForNow5-Jan-22 9:30 
GeneralRe: question about CDC:Pie Pin
Gerry Schmitz5-Jan-22 13:05
mveGerry Schmitz5-Jan-22 13:05 
GeneralRe: question about CDC:Pie Pin
ForNow5-Jan-22 13:37
ForNow5-Jan-22 13:37 

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.