You should not declare variables in you header file.
If you need global variables (better try to avoid them if possible) then you need to state in each C-file in which you want to use them that they...
Type: Posts; User: chris78
You should not declare variables in you header file.
If you need global variables (better try to avoid them if possible) then you need to state in each C-file in which you want to use them that they...
I had a closer look at libcurl today and it seems to me it is unable to serve content. It rather goes the other way round. It can construct http-commands and fetch content from a webserver for you.
...
Argh. Yes this one again.
@CougarElite sorry for the faulty advice :(
Isnt that with any kind of array ?
I just need to start thinking of arrays are nonexistent there are only pointers with...
Thanks a lot.
Their website (http://curl.haxx.se/devel.html) alone contains links (http://curl.haxx.se/libcurl/competitors.html) to many similar projects :)
I guess i can find something there ...
Sure there are other reasons, like rights are insufficient or run out of filedescriptors.
The later one is a bit rare though you can check for the output of perror() or check the errno variable...
This thread is allready a little old but since i came accross this problem many times also and it took me about 30min to find these 2 sites i think its worth noting them.
...
I am about to change some code in order to make it controllable by a web interface. I want to be able to get commands and values out of the http-stream/messages and send back results (ie. complete...
Just exchange the lines i posted or have a look at the documentation.
Can you compile the code on your computer now ?
Then do it and post what goes wrong along with the compiler output.
At the point where you say
int awesome_name; the compiler takes a few bytes (in almost cases 4) and he will use them as number-space. They will allways be interpreted like a number.
So if you want...