code: add curl dll
Этот коммит содержится в:
@@ -13,7 +13,12 @@
|
||||
<Option compiler="gcc" />
|
||||
<Compiler>
|
||||
<Add option="-g" />
|
||||
<Add directory="curl/include" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add library="libcurl.dll.a" />
|
||||
<Add directory="curl/lib" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Release">
|
||||
<Option output="bin/Release/lab01" prefix_auto="1" extension_auto="1" />
|
||||
|
||||
3
main.cpp
3
main.cpp
@@ -3,6 +3,8 @@
|
||||
#include "histogram.h"
|
||||
#include "text.h"
|
||||
#include "svg.h"
|
||||
#include <curl/curl.h>
|
||||
|
||||
|
||||
using namespace std;
|
||||
|
||||
@@ -38,6 +40,7 @@ Input input_data(istream& in1, bool prompt) {
|
||||
|
||||
int main()
|
||||
{
|
||||
curl_global_init(CURL_GLOBAL_ALL);
|
||||
bool prompt = false;
|
||||
auto in = input_data(cin, prompt);
|
||||
auto bins = make_histogram(in.numbers, in.bin_count);
|
||||
|
||||
Ссылка в новой задаче
Block a user