code: исправили ошибки

master
KonovalovaAA 2 лет назад
Родитель 9a80d84a7a
Сommit b3538a0dc1

@ -20,13 +20,14 @@
<iostream> <iostream>
<vector> <vector>
1684754787 source:c:\users\79156\desktop\3\main.cpp 1684756464 source:c:\users\79156\desktop\3\main.cpp
<iostream> <iostream>
<vector> <vector>
<cmath> <cmath>
<windows.h> <windows.h>
"histogram.h" "histogram.h"
"svg.h" "svg.h"
<curl/curl.h>
1681131908 c:\users\79156\desktop\3\histogram.h 1681131908 c:\users\79156\desktop\3\histogram.h
<vector> <vector>
@ -51,3 +52,51 @@
<string> <string>
"svg.h" "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

@ -4,6 +4,7 @@
#include <windows.h> #include <windows.h>
#include "histogram.h" #include "histogram.h"
#include "svg.h" #include "svg.h"
#include <curl/curl.h>
using namespace std; using namespace std;
struct Input struct Input
@ -53,6 +54,7 @@ input_data(istream& tin, bool prompt)
int main() int main()
{ {
curl_global_init(CURL_GLOBAL_ALL);
auto in = input_data(cin, false); auto in = input_data(cin, false);
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);

Загрузка…
Отмена
Сохранить