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

main
(KasimovAM) 2 лет назад
Родитель 34d987e136
Сommit eb8ca6ee40

1
.gitignore поставляемый

@ -1,3 +1,4 @@
/obj /obj
/unittest.depend /unittest.depend
/unittest.layout /unittest.layout
/curl

Двоичные данные
bin/Debug/lab01.exe

Двоичный файл не отображается.

Двоичные данные
bin/Debug/libcurl.dll

Двоичный файл не отображается.

@ -33,3 +33,86 @@
<string> <string>
"svg.h" "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

@ -4,6 +4,7 @@
#include "histogram.h" #include "histogram.h"
#include "text.h" #include "text.h"
#include "svg.h" #include "svg.h"
#include <curl/curl.h>
using namespace std; using namespace std;
struct Input struct Input
@ -39,6 +40,7 @@ Input input_data(istream& in, bool prompt)
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);

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