build: Собрано динамически
Этот коммит содержится в:
@@ -14,6 +14,11 @@
|
|||||||
<Compiler>
|
<Compiler>
|
||||||
<Add option="-g" />
|
<Add option="-g" />
|
||||||
</Compiler>
|
</Compiler>
|
||||||
|
<Linker>
|
||||||
|
<Add option="-static-libstdc++" />
|
||||||
|
<Add option="-static-libgcc" />
|
||||||
|
<Add option="-static" />
|
||||||
|
</Linker>
|
||||||
</Target>
|
</Target>
|
||||||
<Target title="Release">
|
<Target title="Release">
|
||||||
<Option output="bin/Release/fin_lab34" prefix_auto="1" extension_auto="1" />
|
<Option output="bin/Release/fin_lab34" prefix_auto="1" extension_auto="1" />
|
||||||
@@ -25,13 +30,25 @@
|
|||||||
</Compiler>
|
</Compiler>
|
||||||
<Linker>
|
<Linker>
|
||||||
<Add option="-s" />
|
<Add option="-s" />
|
||||||
|
<Add option="-static-libstdc++" />
|
||||||
|
<Add option="-static-libgcc" />
|
||||||
|
<Add option="-static" />
|
||||||
</Linker>
|
</Linker>
|
||||||
</Target>
|
</Target>
|
||||||
</Build>
|
</Build>
|
||||||
<Compiler>
|
<Compiler>
|
||||||
<Add option="-Wall" />
|
<Add option="-Wall" />
|
||||||
<Add option="-fexceptions" />
|
<Add option="-fexceptions" />
|
||||||
|
<Add directory="D:/PROG/PROGRAMMING/fin_lab34/curl/include" />
|
||||||
</Compiler>
|
</Compiler>
|
||||||
|
<Linker>
|
||||||
|
<Add option="-static-libstdc++" />
|
||||||
|
<Add option="-static-libgcc" />
|
||||||
|
<Add option="-static" />
|
||||||
|
<Add option="-DCURL_STATICLIB" />
|
||||||
|
<Add library="D:/PROG/PROGRAMMING/fin_lab34/curl/lib/libcurl.dll.a" />
|
||||||
|
<Add directory="D:/PROG/PROGRAMMING/fin_lab34/curl/lib" />
|
||||||
|
</Linker>
|
||||||
<Unit filename=".gitignore" />
|
<Unit filename=".gitignore" />
|
||||||
<Unit filename="fin_lab34.cpp" />
|
<Unit filename="fin_lab34.cpp" />
|
||||||
<Unit filename="histogram.cpp" />
|
<Unit filename="histogram.cpp" />
|
||||||
|
|||||||
@@ -3,9 +3,11 @@
|
|||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
#include <curl/curl.h>
|
||||||
#include "histogram.h"
|
#include "histogram.h"
|
||||||
#include "text.h"
|
#include "text.h"
|
||||||
#include "svg.h"
|
#include "svg.h"
|
||||||
|
|
||||||
const size_t WINDOW_WIDTH = 80;
|
const size_t WINDOW_WIDTH = 80;
|
||||||
const size_t MAX_VALUE = WINDOW_WIDTH - 3 - 1;
|
const size_t MAX_VALUE = WINDOW_WIDTH - 3 - 1;
|
||||||
using namespace std;
|
using namespace std;
|
||||||
@@ -34,7 +36,8 @@ input_data(istream &thread, bool &prompt){
|
|||||||
|
|
||||||
int
|
int
|
||||||
main(){
|
main(){
|
||||||
double min = 0, max = 0;
|
curl_global_init(CURL_GLOBAL_ALL);
|
||||||
|
//CURLcode curl_global_init(CURL_GLOBAL_ALL);
|
||||||
size_t font = 0;
|
size_t font = 0;
|
||||||
bool prompt = false;
|
bool prompt = false;
|
||||||
auto in = input_data(cin, prompt);
|
auto in = input_data(cin, prompt);
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user