установил libcurl.dll
Этот коммит содержится в:
3
.gitignore
поставляемый
3
.gitignore
поставляемый
@@ -1,2 +1,3 @@
|
|||||||
/bin
|
/bin
|
||||||
/obj
|
/obj
|
||||||
|
/curl
|
||||||
51
lab1.depend
51
lab1.depend
@@ -3,7 +3,7 @@
|
|||||||
<iostream>
|
<iostream>
|
||||||
<vector>
|
<vector>
|
||||||
|
|
||||||
1685895850 source:c:\users\admin\onedrive\Ðàáî÷èé ñòîë\lab1\main.cpp
|
1685897816 source:c:\users\admin\onedrive\Ðàáî÷èé ñòîë\lab1\main.cpp
|
||||||
<iostream>
|
<iostream>
|
||||||
<vector>
|
<vector>
|
||||||
<cmath>
|
<cmath>
|
||||||
@@ -13,6 +13,7 @@
|
|||||||
"svg.h"
|
"svg.h"
|
||||||
<conio.h>
|
<conio.h>
|
||||||
"histogam_internal.h"
|
"histogam_internal.h"
|
||||||
|
<curl/curl.h>
|
||||||
|
|
||||||
1685896776 c:\users\admin\onedrive\Ðàáî÷èé ñòîë\lab1\histogam.h
|
1685896776 c:\users\admin\onedrive\Ðàáî÷èé ñòîë\lab1\histogam.h
|
||||||
<vector>
|
<vector>
|
||||||
@@ -48,3 +49,51 @@
|
|||||||
|
|
||||||
1685896776 c:\users\admin\onedrive\Ðàáî÷èé ñòîë\lab1\svg.h
|
1685896776 c:\users\admin\onedrive\Ðàáî÷èé ñòîë\lab1\svg.h
|
||||||
|
|
||||||
|
1685361112 c:\users\admin\onedrive\Ðàáî÷èé ñòîë\lab1\curl\include\curl\curl.h
|
||||||
|
"curlver.h"
|
||||||
|
"system.h"
|
||||||
|
<stdio.h>
|
||||||
|
<limits.h>
|
||||||
|
<osreldate.h>
|
||||||
|
<sys/types.h>
|
||||||
|
<time.h>
|
||||||
|
<winsock2.h>
|
||||||
|
<ws2tcpip.h>
|
||||||
|
<sys/select.h>
|
||||||
|
<sys/socket.h>
|
||||||
|
<sys/time.h>
|
||||||
|
"easy.h"
|
||||||
|
"multi.h"
|
||||||
|
"urlapi.h"
|
||||||
|
"options.h"
|
||||||
|
"header.h"
|
||||||
|
"websockets.h"
|
||||||
|
"typecheck-gcc.h"
|
||||||
|
|
||||||
|
1685416610 c:\users\admin\onedrive\Ðàáî÷èé ñòîë\lab1\curl\include\curl\curlver.h
|
||||||
|
|
||||||
|
1684137360 c:\users\admin\onedrive\Ðàáî÷èé ñòîë\lab1\curl\include\curl\system.h
|
||||||
|
<ConditionalMacros.h>
|
||||||
|
<winsock2.h>
|
||||||
|
<windows.h>
|
||||||
|
<ws2tcpip.h>
|
||||||
|
<sys/types.h>
|
||||||
|
<sys/socket.h>
|
||||||
|
<sys/poll.h>
|
||||||
|
|
||||||
|
1685004688 c:\users\admin\onedrive\Ðàáî÷èé ñòîë\lab1\curl\include\curl\easy.h
|
||||||
|
|
||||||
|
1684137360 c:\users\admin\onedrive\Ðàáî÷èé ñòîë\lab1\curl\include\curl\multi.h
|
||||||
|
"curl.h"
|
||||||
|
|
||||||
|
1684137360 c:\users\admin\onedrive\Ðàáî÷èé ñòîë\lab1\curl\include\curl\urlapi.h
|
||||||
|
"curl.h"
|
||||||
|
|
||||||
|
1684137360 c:\users\admin\onedrive\Ðàáî÷èé ñòîë\lab1\curl\include\curl\options.h
|
||||||
|
|
||||||
|
1684137360 c:\users\admin\onedrive\Ðàáî÷èé ñòîë\lab1\curl\include\curl\header.h
|
||||||
|
|
||||||
|
1684137360 c:\users\admin\onedrive\Ðàáî÷èé ñòîë\lab1\curl\include\curl\websockets.h
|
||||||
|
|
||||||
|
1684137360 c:\users\admin\onedrive\Ðàáî÷èé ñòîë\lab1\curl\include\curl\typecheck-gcc.h
|
||||||
|
|
||||||
|
|||||||
2
main.cpp
2
main.cpp
@@ -7,6 +7,7 @@
|
|||||||
#include "svg.h"
|
#include "svg.h"
|
||||||
#include <conio.h>
|
#include <conio.h>
|
||||||
#include "histogam_internal.h"
|
#include "histogam_internal.h"
|
||||||
|
#include <curl/curl.h>
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
|
|
||||||
@@ -72,6 +73,7 @@ input_data(istream& in, bool promt)
|
|||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
|
curl_global_init(CURL_GLOBAL_ALL);
|
||||||
auto in = input_data(cin, true);
|
auto in = input_data(cin, true);
|
||||||
auto bins = make_histogram(in.numbers, in.bin_count);
|
auto bins = make_histogram(in.numbers, in.bin_count);
|
||||||
show_histogram_svg(bins);
|
show_histogram_svg(bins);
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user