I have a script that is using the internet protocol 'Curl'
I am sending a http _POST to a php file. To send a post with curl, I need to make a char variable with all my info. for example "name=andrew&country=usa"
Here is where the problem comes in - One of the pieces of info I have to post is created AFTER the program starts. it's a unique id that the program uses to register itself to the servers. That means that I have to do something like this:
char *uniqueid = whatever the program has created
char *post = "request=register&uniqueid=" + uniqueid;
**curl info here**
But here is the error i get:
483 E:\script\main.cpp invalid operands of types `const char[75]' and `char*' to binary `operator+'
I'm not sure how to bypass this. all I need to do is stick 2 different char variables together. Thanks! :)