build: изменение gitignore
Этот коммит содержится в:
15
Lab03.cbp
15
Lab03.cbp
@@ -13,7 +13,12 @@
|
|||||||
<Option compiler="gcc" />
|
<Option compiler="gcc" />
|
||||||
<Compiler>
|
<Compiler>
|
||||||
<Add option="-g" />
|
<Add option="-g" />
|
||||||
|
<Add directory="curl-8.7.1_9-win32-mingw/include" />
|
||||||
</Compiler>
|
</Compiler>
|
||||||
|
<Linker>
|
||||||
|
<Add library="curl-8.7.1_9-win32-mingw/lib/libcurl.dll.a" />
|
||||||
|
<Add directory="curl-8.7.1_9-win32-mingw/lib" />
|
||||||
|
</Linker>
|
||||||
</Target>
|
</Target>
|
||||||
<Target title="Release">
|
<Target title="Release">
|
||||||
<Option output="bin/Release/Lab03" prefix_auto="1" extension_auto="1" />
|
<Option output="bin/Release/Lab03" prefix_auto="1" extension_auto="1" />
|
||||||
@@ -22,17 +27,25 @@
|
|||||||
<Option compiler="gcc" />
|
<Option compiler="gcc" />
|
||||||
<Compiler>
|
<Compiler>
|
||||||
<Add option="-O2" />
|
<Add option="-O2" />
|
||||||
|
<Add directory="curl-8.7.1_9-win32-mingw/include" />
|
||||||
</Compiler>
|
</Compiler>
|
||||||
<Linker>
|
<Linker>
|
||||||
<Add option="-s" />
|
<Add option="-s" />
|
||||||
|
<Add library="curl-8.7.1_9-win32-mingw/lib/libcurl.dll.a" />
|
||||||
|
<Add directory="curl-8.7.1_9-win32-mingw/lib" />
|
||||||
</Linker>
|
</Linker>
|
||||||
</Target>
|
</Target>
|
||||||
</Build>
|
</Build>
|
||||||
<Compiler>
|
<Compiler>
|
||||||
<Add option="-Wall" />
|
<Add option="-Wall" />
|
||||||
<Add option="-fexceptions" />
|
<Add option="-fexceptions" />
|
||||||
|
<Add directory="curl-8.7.1_9-win32-mingw/include" />
|
||||||
</Compiler>
|
</Compiler>
|
||||||
<Unit filename=".gitignore" />
|
<Linker>
|
||||||
|
<Add library="curl-8.7.1_9-win32-mingw/lib/libcurl.dll.a" />
|
||||||
|
<Add directory="curl-8.7.1_9-win32-mingw/lib" />
|
||||||
|
<Add directory="curl-8.7.1_9-win32-mingw/include" />
|
||||||
|
</Linker>
|
||||||
<Unit filename="doctest.h" />
|
<Unit filename="doctest.h" />
|
||||||
<Unit filename="histogram.cpp" />
|
<Unit filename="histogram.cpp" />
|
||||||
<Unit filename="histogram.h" />
|
<Unit filename="histogram.h" />
|
||||||
|
|||||||
2
main.cpp
2
main.cpp
@@ -3,6 +3,7 @@
|
|||||||
#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 +41,7 @@ input_data(istream& stream, 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, in.number_count, in.max_count);
|
auto bins = make_histogram(in.numbers, in.bin_count, in.number_count, in.max_count);
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user