Why isn't libcurl doing anything?
Why isn't libcurl doing anything?
I have tried googling, and found no solution to my problem. I'm trying to learn how to use libcurl, a c networking library. I tried compiling a program that was automatically generated from curl, and a few examples i found online but nothing happened. I got no errors or logs, the program stopped "sucessfully" but i get no output. I also cant write to the console either while the library is included.
Any help is appreciated.
There's no way to even attempt to answer your question without the actual code
You're right, but it doesn't do anything, no matter what the code is, so I assumed that I needn't include it. Kinda stupid of me. In any case, here it is:
Another piece of code i tried was:
compiled it with
gcc test.c -o test.exe -IC:\Users\MY_USERNAME\scoop\apps\curl\current\include -LC:\Users\MY_USERNAME\scoop\apps\curl\current\lib -lcurl
but you can replace the paths with wherever the libcurl include directory is (i hope).