+ 3
[solved] Is there a way to get data from Internet with C++ in Sololearn?
Is there any way to get data (for example, web page source code, weather, database with best scores) with C++, using libraries which are available in Sololearn C++ Playground? Or the way to temporarily download special library by calling Command Line? I searched up for that question 1 year ago, but all the answers I tried require some libraries that are not from STD, and thus failing on Sololearn C++ Playground.
1 Resposta
+ 5
curl is there. You need to put your code in a separate file though and compile+execute it using system(), because you need to compile it with the -lcurl flag.
https://code.sololearn.com/c377A8A22a48/?ref=app