4.3: добавление curl в программу
Этот коммит содержится в:
4
main.cpp
4
main.cpp
@@ -3,6 +3,7 @@
|
||||
#include "histogram.h"
|
||||
#include "text.h"
|
||||
#include "svg.h"
|
||||
#include <curl/curl.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
@@ -52,6 +53,9 @@ Input input_data(istream& stream, bool prompt) {
|
||||
|
||||
|
||||
int main(){
|
||||
|
||||
curl_global_init(CURL_GLOBAL_ALL);
|
||||
|
||||
bool prompt= true;
|
||||
|
||||
Input in = input_data(cin, prompt);
|
||||
|
||||
Ссылка в новой задаче
Block a user