+ 2
Why i can't able to use this library? In C
I want to use libcurl.h file in C compiler... But it shows error,why? And also tell me, how can I use this library in sololearn... https://code.sololearn.com/cMh46PdF7Ov9/?ref=app
6 Réponses
+ 3
Yogeshwaran you need to manually link those external libraries as well as include their header files using a compiler. You can’t however do this on SoloLearn. You could maximum get http request if you write the low level socket programming for unix (didn’t try it, should be possible unless it requires any additional linking). Python is an interpreted language. Besides, you could trick SoloLearn to use python’s package manager (pip). C/C++ don’t save such built in package manager.
+ 3
Stack Overflow says that you must download and install libcurl before you use it. Since you cannot do that here, you must understand that you cannot use it on Sololearn.
https://stackoverflow.com/questions/11471690/curl-h-no-such-file-or-directory/11471743
+ 1
Avinesh see this python code...
In this code,I import module without pre-installing this module.....by using some special syntax.....
Based on @Flash comment...
In same way,is there any method in C to use library without installing it?
https://code.sololearn.com/c0BT7v1ceSc6/?ref=app
https://www.sololearn.com/Discuss/2574508/?ref=app
0
Yogeshwaran I don’t think so.