code: исправление ошибок
Этот коммит содержится в:
1
.gitignore
поставляемый
1
.gitignore
поставляемый
@@ -1,3 +1,4 @@
|
||||
/obj
|
||||
/unittest.depend
|
||||
/unittest.layout
|
||||
/curl
|
||||
|
||||
Двоичные данные
bin/Debug/lab01.exe
Двоичные данные
bin/Debug/lab01.exe
Двоичный файл не отображается.
Двоичные данные
bin/Debug/libcurl.dll
Обычный файл
Двоичные данные
bin/Debug/libcurl.dll
Обычный файл
Двоичный файл не отображается.
83
lab01.depend
83
lab01.depend
@@ -33,3 +33,86 @@
|
||||
<string>
|
||||
"svg.h"
|
||||
|
||||
1685900056 source:c:\users\kasma\desktop\lab04\cs-lab34\histogram.cpp
|
||||
<iostream>
|
||||
<vector>
|
||||
"histogram.h"
|
||||
|
||||
1685900056 c:\users\kasma\desktop\lab04\cs-lab34\histogram.h
|
||||
<vector>
|
||||
|
||||
1685900056 source:c:\users\kasma\desktop\lab04\cs-lab34\svg.cpp
|
||||
<math.h>
|
||||
<iostream>
|
||||
<conio.h>
|
||||
<vector>
|
||||
<string>
|
||||
"svg.h"
|
||||
|
||||
1685900056 c:\users\kasma\desktop\lab04\cs-lab34\svg.h
|
||||
<vector>
|
||||
|
||||
1685900056 source:c:\users\kasma\desktop\lab04\cs-lab34\text.cpp
|
||||
<iostream>
|
||||
<vector>
|
||||
"text.h"
|
||||
|
||||
1685900056 c:\users\kasma\desktop\lab04\cs-lab34\text.h
|
||||
|
||||
1685909791 source:c:\users\kasma\desktop\lab04\cs-lab34\main.cpp
|
||||
<iostream>
|
||||
<vector>
|
||||
<conio.h>
|
||||
"histogram.h"
|
||||
"text.h"
|
||||
"svg.h"
|
||||
<curl/curl.h>
|
||||
|
||||
1685910057 c:\users\kasma\desktop\lab04\cs-lab34\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"
|
||||
|
||||
1685910057 c:\users\kasma\desktop\lab04\cs-lab34\curl\include\curl\curlver.h
|
||||
|
||||
1685910057 c:\users\kasma\desktop\lab04\cs-lab34\curl\include\curl\system.h
|
||||
<ConditionalMacros.h>
|
||||
<winsock2.h>
|
||||
<windows.h>
|
||||
<ws2tcpip.h>
|
||||
<sys/types.h>
|
||||
<sys/socket.h>
|
||||
<sys/poll.h>
|
||||
|
||||
1685910057 c:\users\kasma\desktop\lab04\cs-lab34\curl\include\curl\easy.h
|
||||
|
||||
1685910057 c:\users\kasma\desktop\lab04\cs-lab34\curl\include\curl\multi.h
|
||||
"curl.h"
|
||||
|
||||
1685910057 c:\users\kasma\desktop\lab04\cs-lab34\curl\include\curl\urlapi.h
|
||||
"curl.h"
|
||||
|
||||
1685910057 c:\users\kasma\desktop\lab04\cs-lab34\curl\include\curl\options.h
|
||||
|
||||
1685910057 c:\users\kasma\desktop\lab04\cs-lab34\curl\include\curl\header.h
|
||||
|
||||
1685910057 c:\users\kasma\desktop\lab04\cs-lab34\curl\include\curl\websockets.h
|
||||
|
||||
1685910057 c:\users\kasma\desktop\lab04\cs-lab34\curl\include\curl\typecheck-gcc.h
|
||||
|
||||
|
||||
2
main.cpp
2
main.cpp
@@ -4,6 +4,7 @@
|
||||
#include "histogram.h"
|
||||
#include "text.h"
|
||||
#include "svg.h"
|
||||
#include <curl/curl.h>
|
||||
using namespace std;
|
||||
|
||||
struct Input
|
||||
@@ -39,6 +40,7 @@ Input input_data(istream& in, bool prompt)
|
||||
|
||||
int main()
|
||||
{
|
||||
curl_global_init(CURL_GLOBAL_ALL);
|
||||
auto in = input_data(cin, true);
|
||||
auto bins = make_histogram(in.numbers, in.bin_count);
|
||||
show_histogram_svg(bins);
|
||||
|
||||
Ссылка в новой задаче
Block a user