This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

vARIABLE INSIDE QUOTE

Hello guys,

I thought I understood all of C but the complex stuff sometimes gets me.

Can you learn me.

I'm trying to figure out how to put a variable inside a variable.... Here is the code excerpt.

CODE IS
char * httpget = "GET /mssql.php?q=11101000101001101111111000000011 HTTP 1.1 / \x0D\x0A\n\x0D\x0A\n" ;

Any idea on how I would get the binary portion to be a variable that pulls from elsewhere?

Thanks, for everyone's help.