+ 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.

24th Jan 2021, 8:52 AM
#0009e7 [get]
#0009e7 [get] - avatar
1 Antwort
+ 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
24th Jan 2021, 9:43 AM
XXX
XXX - avatar