Updated to support and use modern C++ features and added more examples.

This commit is contained in:
Teal Dulcet
2022-07-14 01:33:38 -07:00
parent 37e257c5ee
commit 274f949079
11 changed files with 1123 additions and 380 deletions

View File

@@ -13,12 +13,12 @@ install:
- sudo apt-get -yqq update
- sudo apt-get -yqq install cppcheck
script:
- g++ -Wall -g -fsanitize=address,undefined tables.cpp -o gcc_tables
- g++ -Wall -g -Og -fsanitize=address,undefined tables.cpp -o gcc_tables
- ./gcc_tables
- g++ -Wall -g -fsanitize=address,undefined graphs.cpp -o gcc_graphs
- g++ -Wall -g -Og -fsanitize=address,undefined graphs.cpp -o gcc_graphs
- ./gcc_graphs
- clang++ -Wall -g -fsanitize=address,undefined,integer tables.cpp -o clang_tables
- clang++ -Wall -g -Og -fsanitize=address,undefined,integer tables.cpp -o clang_tables
- ./clang_tables
- clang++ -Wall -g -fsanitize=address,undefined,integer graphs.cpp -o clang_graphs
- clang++ -Wall -g -Og -fsanitize=address,undefined,integer graphs.cpp -o clang_graphs
- ./clang_graphs
- cppcheck --enable=all .