Home » Community » Newbie corner » error C2110: '+' : cannot add two pointers
Re: error C2110: '+' : cannot add two pointers [message #30455 is a reply to message #30445] |
Sun, 02 January 2011 09:31  |
nlneilson
Messages: 644 Registered: January 2010 Location: U.S. California. Mojave &...
|
Contributor |
|
|
I don't recall using any of the three examples.
Most of my experience with C++ was more than 15 years ago, just getting back into it in the last year.
In Java I don't think this is a problem.
In Python switching from 2.xx to 3.xx ran into something:
OKCom = OKCom + [ser.portstr + ' ' + str(Baud[b]) + ' OK']
In 2.xx
+ Baud[b] + worked
but 3.xx requires
+ str(Baud[b]) +
It looks like I have additional reading/research to do.
Thanks
Neil
|
|
|
Goto Forum:
Current Time: Sat Jul 19 12:29:20 CEST 2025
Total time taken to generate the page: 0.03777 seconds
|