Чуть-чуть поменял

main
Chernov Danila 2 лет назад
Родитель 20bfa6a559
Сommit 50d5df4631

7
.vscode/launch.json поставляемый

@ -0,0 +1,7 @@
{
// Используйте IntelliSense, чтобы узнать о возможных атрибутах.
// Наведите указатель мыши, чтобы просмотреть описания существующих атрибутов.
// Для получения дополнительной информации посетите: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": []
}

29
.vscode/tasks.json поставляемый

@ -0,0 +1,29 @@
{
"tasks": [
{
"type": "cppbuild",
"label": "C/C++: clang++ сборка активного файла",
"command": "/usr/bin/clang++",
"args": [
"-fcolor-diagnostics",
"-fansi-escape-codes",
"-g",
"${file}",
"-o",
"${fileDirname}/${fileBasenameNoExtension}"
],
"options": {
"cwd": "${fileDirname}"
},
"problemMatcher": [
"$gcc"
],
"group": {
"kind": "build",
"isDefault": true
},
"detail": "Задача создана отладчиком."
}
],
"version": "2.0.0"
}

@ -0,0 +1,3 @@
<?xml version='1.0' encoding='UTF-8'?>
<svg width='400' height='300' viewBox='0 0 400 300' xmlns='http://www.w3.org/2000/svg'>
<rect x='0' y='0' width='0' height='30' stroke='white' fill='#ffffff' /><text x='360' y='20'>1</text><rect x='0' y='0' width='350' height='30' stroke='red' fill='#aaffaa' /><rect x='0' y='30' width='0' height='30' stroke='white' fill='#ffffff' /><text x='360' y='50'>1</text><rect x='0' y='30' width='350' height='30' stroke='red' fill='#aaffaa' /><rect x='0' y='60' width='0' height='30' stroke='white' fill='#ffffff' /><text x='360' y='80'>1</text><rect x='0' y='60' width='350' height='30' stroke='red' fill='#aaffaa' /></svg>

После

Ширина:  |  Высота:  |  Размер: 658 B

@ -0,0 +1,6 @@
#ifndef HISTOGRAM_INTERNAL_H_INCLUDED
#define HISTOGRAM_INTERNAL_H_INCLUDED
#include <vector>
void find_minmax(std::vector<double> numbers, double &min, double &max);
#endif // HISTOGRAM_INTERNAL_H_INCLUDED

Двоичные данные
project/main

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

@ -1,18 +1,18 @@
#include <iostream> #include <iostream>
#include <vector> #include <vector>
#include "histogram.h" #include "histogram.cpp"
#include "text.h" #include "text.cpp"
#include "svg.h" #include "svg.cpp"
using namespace std; using namespace std;
struct Input { struct Input {
vector<double> numbers; vector<double> numbers;
size_t bin_count{}; size_t bin_count;
}; };
Input Input
input_data(){ input_data(){
size_t number_count; size_t number_count;
cerr << "Enter number count: "; cerr << "Enter number count ";
cin >> number_count; cin >> number_count;
Input in; Input in;
in.numbers.resize(number_count); in.numbers.resize(number_count);
@ -20,7 +20,7 @@ input_data(){
{ {
cin >> in.numbers[i]; cin >> in.numbers[i];
} }
cerr << "Enter bin count: "; cerr << "Enter bin count ";
cin >> in.bin_count; cin >> in.bin_count;
return in; return in;
} }

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleIdentifier</key>
<string>com.apple.xcode.dsym.main</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>dSYM</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
</plist>

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

@ -1,6 +1,5 @@
#include <math.h> #include <math.h>
#include <iostream> #include <iostream>
#include <conio.h>
#include <vector> #include <vector>
#include <string> #include <string>
#include "svg.h" #include "svg.h"

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