Click here to Skip to main content
15,558,557 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
Member 1496877124-Mar-22 14:25
Member 1496877124-Mar-22 14:25 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
Richard MacCutchan24-Mar-22 22:49
mveRichard MacCutchan24-Mar-22 22:49 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
Member 1496877125-Mar-22 11:17
Member 1496877125-Mar-22 11:17 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
k505425-Mar-22 12:26
mvek505425-Mar-22 12:26 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
Member 1496877125-Mar-22 15:25
Member 1496877125-Mar-22 15:25 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
Member 1496877125-Mar-22 17:33
Member 1496877125-Mar-22 17:33 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
k505428-Mar-22 6:26
mvek505428-Mar-22 6:26 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
Member 1496877128-Mar-22 14:27
Member 1496877128-Mar-22 14:27 
I appreciate confirmation of the parameters # limit .
I do not see why QT limitation of one process would be a reason to switch OS, especially when
using std::bind "fixes " this limitation.

I have SUCCESSFULLY codded and run several test function using QTConcurrent,
and I am basically back where I started.

I could use some more assistance with this.
The attached code is direct from QT documentation.

What I do not understand is the necessity of highlighted code.

What is the purpose and is there a doc I could RTFM to get some
understanding why this code is necessary.

If I pass the aFunctionWithArguments function arguments at face value I then get
the "type" error ( as posted previously )

Is this something "just QT " or is that "normal" C++
and if so what is the correct terminology of doing this ?

I just call it "SYMBOLS".

My real code gets complicated because I am a passing more the 5 "arguments" and two of them are
pointer and double pointer.
I can run my test function passing struct and have no need for these "SYMBOLS".

I am NOT asking to write my code, I am asking for explanation why
QT is using these "conversions / symbols "




extern void aFunctionWithArguments(int arg1, double arg2, const QString &string);

int integer = ...;
double floatingPoint = ...;
QString string = ...;

QFuture<void> future = QtConcurrent::run(aFunctionWithArguments, integer, floatingPoint, string);

GeneralRe: how do I verify - "all the ducks in the row "? Pin
Richard MacCutchan25-Mar-22 23:53
mveRichard MacCutchan25-Mar-22 23:53 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
trønderen25-Mar-22 13:58
trønderen25-Mar-22 13:58 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
k505426-Mar-22 6:07
mvek505426-Mar-22 6:07 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
Richard MacCutchan25-Mar-22 23:51
mveRichard MacCutchan25-Mar-22 23:51 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
Member 1496877128-Mar-22 15:44
Member 1496877128-Mar-22 15:44 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
Member 1496877129-Mar-22 7:05
Member 1496877129-Mar-22 7:05 
GeneralRe: how do I verify - "all the ducks in the row "? Pin
k505429-Mar-22 7:55
mvek505429-Mar-22 7:55 
QuestionHelp with calculating percentage in C Pin
ForNow20-Mar-22 6:37
ForNow20-Mar-22 6:37 
AnswerRe: Help with calculating percentage in C Pin
k505420-Mar-22 6:54
mvek505420-Mar-22 6:54 
GeneralRe: Help with calculating percentage in C Pin
ForNow20-Mar-22 7:47
ForNow20-Mar-22 7:47 
GeneralRe: Help with calculating percentage in C Pin
Calin Negru20-Mar-22 9:41
Calin Negru20-Mar-22 9:41 
JokeRe: Help with calculating percentage in C Pin
RedDk21-Mar-22 8:16
RedDk21-Mar-22 8:16 
AnswerRe: Help with calculating percentage in C Pin
Victor Nijegorodov20-Mar-22 8:42
Victor Nijegorodov20-Mar-22 8:42 
GeneralRe: Help with calculating percentage in C Pin
ForNow20-Mar-22 10:02
ForNow20-Mar-22 10:02 
QuestionHow to pass pointers and process them using ellipsis ? Pin
Member 1496877118-Mar-22 16:23
Member 1496877118-Mar-22 16:23 
AnswerRe: How to pass pointers and process them using ellipsis ? Pin
Richard MacCutchan19-Mar-22 0:08
mveRichard MacCutchan19-Mar-22 0:08 
GeneralRe: How to pass pointers and process them using ellipsis ? Pin
Member 1496877119-Mar-22 5:06
Member 1496877119-Mar-22 5:06 

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.