invalid operands of types 'const char*' and 'const char [9]' to binary 'operator+'??? | Arduino | Forum

The ThingSpeak community site has been upgraded to a new site. This site is currently in read-only mode. You can ask questions or post and read discussions on the new site.

Lost password?
Advanced Search

— Forum Scope —

— Match —

— Forum Options —

Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
invalid operands of types 'const char*' and 'const char [9]' to binary 'operator+'???
No permission to create posts
February 23, 2016
11:12 pm
New Member
Forum Posts: 1
Member Since:
February 24, 2016
sp_UserOfflineSmall Offline


updateThingSpeak("field1=" + hum+ "&field2=" + temp);

Verifies to this...

invalid operands of types 'const char*' and 'const char [9]' to binary 'operator+'

Have followed ThingSpeak's tutorial and not surmising why the error.
Please teach this noob a lesson

February 24, 2016
4:34 pm

Forum Posts: 62
Member Since:
August 25, 2015
sp_UserOfflineSmall Offline


Which library are you using for this? Also, could you point us to the tutorial you are referring to?


Forum Timezone: America/New_York

Most Users Ever Online: 166

Currently Online:
26 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 272

Vinod: 240

piajola: 95

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 8665

Moderators: 1

Admins: 2

Forum Stats:

Groups: 3

Forums: 14

Topics: 1600

Posts: 5760

Newest Members:

kusmumichael, petersmith99, Rambant, blakeharriss09, optisol, Niyonzima Fils

Moderators: cstapels: 460

Administrators: Hans: 405, lee: 457