diff options
Diffstat (limited to '106')
-rw-r--r-- | 106/Makefile | 13 | ||||
-rw-r--r-- | 106/README.md | 5 | ||||
-rw-r--r-- | 106/compile_flags.txt | 4 | ||||
l--------- | 106/include | 1 | ||||
-rwxr-xr-x | 106/main | bin | 0 -> 165568 bytes | |||
-rw-r--r-- | 106/main.cpp | 13 |
6 files changed, 36 insertions, 0 deletions
diff --git a/106/Makefile b/106/Makefile new file mode 100644 index 0000000..c3dda94 --- /dev/null +++ b/106/Makefile @@ -0,0 +1,13 @@ + +CFLAGS = -std=c++2c -mavx -Iinclude -ggdb + +.PHONY: all run_main clean gnuplot + +run_main: main + ./main + +main: main.cpp include/* + $(CXX) -o $@ $< $(CFLAGS) + +clean: + rm -fr main *.png *.plot diff --git a/106/README.md b/106/README.md new file mode 100644 index 0000000..96fd716 --- /dev/null +++ b/106/README.md @@ -0,0 +1,5 @@ +<!-- Шаблон для прака --> +<!-- файлы, заканчивающиеся на .plot считаются генерируемыми и удаляются через make clean --> +# Обработка <> прака + + diff --git a/106/compile_flags.txt b/106/compile_flags.txt new file mode 100644 index 0000000..34ae930 --- /dev/null +++ b/106/compile_flags.txt @@ -0,0 +1,4 @@ +-Iinclude +-std=c++2c +-mavx2 + diff --git a/106/include b/106/include new file mode 120000 index 0000000..2225752 --- /dev/null +++ b/106/include @@ -0,0 +1 @@ +../libprakpp/include/
\ No newline at end of file diff --git a/106/main b/106/main Binary files differnew file mode 100755 index 0000000..5b56496 --- /dev/null +++ b/106/main diff --git a/106/main.cpp b/106/main.cpp new file mode 100644 index 0000000..c83e5b5 --- /dev/null +++ b/106/main.cpp @@ -0,0 +1,13 @@ +#include "include/praktable.hpp" + +using table = prak::table<double>; + +void ex1(void) { + table t; + t.print(); +} + +int main() { + ex1(); + return 0; +} |