Click here to Skip to main content
15,882,017 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: another "everybody knows that " question on C++ Pin
k505410-May-23 9:05
mvek505410-May-23 9:05 
GeneralMessage Closed Pin
10-May-23 9:54
Member 1496877110-May-23 9:54 
GeneralRe: another "everybody knows that " question on C++ Pin
k505410-May-23 10:31
mvek505410-May-23 10:31 
GeneralRe: another "everybody knows that " question on C++ Pin
jschell11-May-23 4:57
jschell11-May-23 4:57 
GeneralRe: another "everybody knows that " question on C++ Pin
harold aptroot10-May-23 10:39
harold aptroot10-May-23 10:39 
GeneralMessage Closed Pin
10-May-23 11:26
Member 1496877110-May-23 11:26 
GeneralRe: another "everybody knows that " question on C++ Pin
Richard MacCutchan10-May-23 21:46
mveRichard MacCutchan10-May-23 21:46 
AnswerRe: another "everybody knows that " question on C++ Pin
jschell11-May-23 5:10
jschell11-May-23 5:10 
Member 14968771 wrote:
All I get is "passing by value or by reference" - so what are the parameters actually passed to "pairingDone" ?


That refers to how they are passed.
You are asking what they are.

You have a method. It takes parameters.
To use the method you must do the following
1. Understand the execution flow required to use the method
2. Understand the type of the parameters.
3. Understand how to create the parameters.
4. Understand what the method does.

Member 14968771 wrote:
point me to good resource to learn something about the syntax


Based on what you posted you do not have enough knowledge about C++ to begin to use the function you posted above. (Using bluetooth is not easy for an experienced programmer.)

Your questions are valid but even if someone provided an exact answer you would still need more information to use everything else required to correctly use the method that you posted.

But if you want you can use the following in google. Those examples do explain what the first parameter is and what to do with it. But then you need the other parameter. And everything else I mentioned above.

QBluetoothAddress examples

GeneralMessage Closed Pin
11-May-23 6:32
Member 1496877111-May-23 6:32 
GeneralRe: another "everybody knows that " question on C++ Pin
Richard MacCutchan11-May-23 9:05
mveRichard MacCutchan11-May-23 9:05 
RantMessage Closed Pin
12-May-23 9:35
Member 1496877112-May-23 9:35 
GeneralRe: another "everybody knows that " question on C++ Pin
OriginalGriff12-May-23 23:32
mveOriginalGriff12-May-23 23:32 
GeneralRe: another "everybody knows that " question on C++ Pin
jschell12-May-23 9:36
jschell12-May-23 9:36 
QuestionMessage Closed Pin
8-May-23 6:28
Member 149687718-May-23 6:28 
AnswerRe: C++ for loop syntax ? Pin
CPallini8-May-23 8:02
mveCPallini8-May-23 8:02 
AnswerRe: C++ for loop syntax ? Pin
Richard MacCutchan8-May-23 21:46
mveRichard MacCutchan8-May-23 21:46 
GeneralMessage Closed Pin
9-May-23 7:13
Member 149687719-May-23 7:13 
GeneralRe: C++ for loop syntax ? Pin
Richard MacCutchan9-May-23 10:11
mveRichard MacCutchan9-May-23 10:11 
GeneralRe: C++ for loop syntax ? Pin
k50549-May-23 11:29
mvek50549-May-23 11:29 
AnswerRe: C++ for loop syntax ? Pin
Gerry Schmitz10-May-23 5:02
mveGerry Schmitz10-May-23 5:02 
AnswerRe: C++ for loop syntax ? Pin
jschell10-May-23 5:34
jschell10-May-23 5:34 
QuestionTitle bar display and closing problem Pin
Jeanjean Lesage5-May-23 22:46
Jeanjean Lesage5-May-23 22:46 
AnswerRe: Title bar display and closing problem Pin
Richard MacCutchan6-May-23 0:03
mveRichard MacCutchan6-May-23 0:03 
GeneralRe: Title bar display and closing problem Pin
Jeanjean Lesage6-May-23 1:57
Jeanjean Lesage6-May-23 1:57 
QuestionCreating a pointer and asigning a variable address to it Pin
Calin Negru23-Apr-23 6:22
Calin Negru23-Apr-23 6:22 

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.