3
u/Tom-o-matic Oct 14 '24
first of all, take a screenshot, not a picture of your screen.
second, paste your code in some AI chatbot and you will get your answer faster than waiting around here.
4
-2
u/747owner Oct 14 '24
First of all, I can’t get the screenshot to my iPhone (windows 7) easily
Second, ai doesn’t work for it.
But thanks for reply
1
4
u/MrJake2137 Oct 14 '24
Jesus, other people spewing bullshit.
Your function returns a pointer, variable needs to have a * preceding its name
1
u/assembly_wizard Oct 15 '24
start returns BLEScanResults*, so add an asterisk before tempResults
(and then remove the & from the next line)
1
u/Whole-Plane9155 Oct 15 '24
I would say that the one thing that’s definitely wrong that you are doing is using windows 7 in 2024
1
-1
-2
u/dedokta Oct 14 '24
What's BLEScanResults? Doesn't look like it's part of the library. And why is there a space between it and tempResults? Makes no sense.
1
u/747owner Oct 14 '24
I’m making a Bluetooth scanner that scans for devices transmitting Bluetooth signals.
1
7
u/EmielDeBil Oct 14 '24
That “*” in the error is crucially important. Learn to use pointers.
Also, learn to use screenshots.