code: установка динамических библиотек

master
Alexander 7 месяцев назад
Родитель 59b6fa5051
Сommit 17ecaf4845

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

@ -5,4 +5,6 @@
/main.exe /main.exe
/main.o /main.o
/bat /bat
/unittest.depend /unittest.depend
/unittest.layout
/curl

@ -31,7 +31,12 @@
<Compiler> <Compiler>
<Add option="-Wall" /> <Add option="-Wall" />
<Add option="-fexceptions" /> <Add option="-fexceptions" />
<Add directory="curl/include" />
</Compiler> </Compiler>
<Linker>
<Add library="libcurl.dll.a" />
<Add directory="curl/lib" />
</Linker>
<Unit filename="histogram.cpp" /> <Unit filename="histogram.cpp" />
<Unit filename="histogram.h" /> <Unit filename="histogram.h" />
<Unit filename="histogram_internal.h" /> <Unit filename="histogram_internal.h" />

@ -3,6 +3,8 @@
#include "histogram.h" #include "histogram.h"
#include "text.h" #include "text.h"
#include "svg.h" #include "svg.h"
#include <curl/curl.h>
using namespace std; using namespace std;
@ -40,6 +42,7 @@ Input input_data(istream& in, bool prompt) {
}; };
int main(){ int main(){
curl_global_init(CURL_GLOBAL_ALL);
bool prompt = true; bool prompt = true;
auto in = input_data(cin, prompt); auto in = input_data(cin, prompt);
auto bins = make_histogram(in.numbers, in.bin_count); auto bins = make_histogram(in.numbers, in.bin_count);

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