code: реализован curl_global_init в коде и исправлены ошибки с запуском .exe файла из bin

master
Ilya (OgarkovIA) 6 месяцев назад
Родитель 4d55338319
Сommit ae736614f5

1
.gitignore поставляемый

@ -1,5 +1,6 @@
cs-lab34.cbp
cs-lab34.depend
cs-lab34.layout
unittest.cbp
Untitled1.c
/bin

@ -2,9 +2,9 @@
<CodeBlocks_layout_file>
<FileVersion major="1" minor="0" />
<ActiveTarget name="Debug" />
<File name="main.cpp" open="1" top="0" tabpos="1" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="main.cpp" open="1" top="1" tabpos="1" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="143" topLine="0" />
<Cursor1 position="1166" topLine="9" />
</Cursor>
</File>
</CodeBlocks_layout_file>

@ -1,5 +1,6 @@
#include <iostream>
#include <vector>
#include <curl/curl.h>
#include "histogram.h"
#include "text.h"
#include "svg.h"
@ -54,6 +55,8 @@ input_data(istream& cin, bool prompt) {
int main(){
curl_global_init(CURL_GLOBAL_ALL);
bool res = false;
auto in = input_data(cin, true);

Загрузка…
Отмена
Сохранить