code: исправили ошибки
Этот коммит содержится в:
51
1.depend
51
1.depend
@@ -20,13 +20,14 @@
|
||||
<iostream>
|
||||
<vector>
|
||||
|
||||
1684754787 source:c:\users\79156\desktop\3\main.cpp
|
||||
1684756464 source:c:\users\79156\desktop\3\main.cpp
|
||||
<iostream>
|
||||
<vector>
|
||||
<cmath>
|
||||
<windows.h>
|
||||
"histogram.h"
|
||||
"svg.h"
|
||||
<curl/curl.h>
|
||||
|
||||
1681131908 c:\users\79156\desktop\3\histogram.h
|
||||
<vector>
|
||||
@@ -51,3 +52,51 @@
|
||||
<string>
|
||||
"svg.h"
|
||||
|
||||
1684137360 c:\users\79156\desktop\3\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"
|
||||
|
||||
1684292872 c:\users\79156\desktop\3\curl\include\curl\curlver.h
|
||||
|
||||
1684137360 c:\users\79156\desktop\3\curl\include\curl\system.h
|
||||
<ConditionalMacros.h>
|
||||
<winsock2.h>
|
||||
<windows.h>
|
||||
<ws2tcpip.h>
|
||||
<sys/types.h>
|
||||
<sys/socket.h>
|
||||
<sys/poll.h>
|
||||
|
||||
1684137360 c:\users\79156\desktop\3\curl\include\curl\easy.h
|
||||
|
||||
1684137360 c:\users\79156\desktop\3\curl\include\curl\multi.h
|
||||
"curl.h"
|
||||
|
||||
1684137360 c:\users\79156\desktop\3\curl\include\curl\urlapi.h
|
||||
"curl.h"
|
||||
|
||||
1684137360 c:\users\79156\desktop\3\curl\include\curl\options.h
|
||||
|
||||
1684137360 c:\users\79156\desktop\3\curl\include\curl\header.h
|
||||
|
||||
1684137360 c:\users\79156\desktop\3\curl\include\curl\websockets.h
|
||||
|
||||
1684137360 c:\users\79156\desktop\3\curl\include\curl\typecheck-gcc.h
|
||||
|
||||
|
||||
2
main.cpp
2
main.cpp
@@ -4,6 +4,7 @@
|
||||
#include <windows.h>
|
||||
#include "histogram.h"
|
||||
#include "svg.h"
|
||||
#include <curl/curl.h>
|
||||
|
||||
using namespace std;
|
||||
struct Input
|
||||
@@ -53,6 +54,7 @@ input_data(istream& tin, bool prompt)
|
||||
|
||||
int main()
|
||||
{
|
||||
curl_global_init(CURL_GLOBAL_ALL);
|
||||
auto in = input_data(cin, false);
|
||||
auto bins = make_histogram(in.numbers, in.bin_count);
|
||||
show_histogram_svg(bins);
|
||||
|
||||
Ссылка в новой задаче
Block a user