diff --git a/.vscode/settings.json b/.vscode/settings.json index d7912ee..aec1443 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,6 +1,60 @@ { "files.associations": { "iostream": "cpp", - "ostream": "cpp" + "ostream": "cpp", + "atomic": "cpp", + "bit": "cpp", + "cctype": "cpp", + "charconv": "cpp", + "chrono": "cpp", + "clocale": "cpp", + "cmath": "cpp", + "compare": "cpp", + "concepts": "cpp", + "cstddef": "cpp", + "cstdint": "cpp", + "cstdio": "cpp", + "cstdlib": "cpp", + "cstring": "cpp", + "ctime": "cpp", + "cwchar": "cpp", + "exception": "cpp", + "format": "cpp", + "forward_list": "cpp", + "initializer_list": "cpp", + "iomanip": "cpp", + "ios": "cpp", + "iosfwd": "cpp", + "istream": "cpp", + "iterator": "cpp", + "limits": "cpp", + "locale": "cpp", + "memory": "cpp", + "new": "cpp", + "optional": "cpp", + "ratio": "cpp", + "sstream": "cpp", + "stdexcept": "cpp", + "streambuf": "cpp", + "string": "cpp", + "system_error": "cpp", + "tuple": "cpp", + "type_traits": "cpp", + "typeinfo": "cpp", + "utility": "cpp", + "vector": "cpp", + "xfacet": "cpp", + "xiosbase": "cpp", + "xlocale": "cpp", + "xlocbuf": "cpp", + "xlocinfo": "cpp", + "xlocmes": "cpp", + "xlocmon": "cpp", + "xlocnum": "cpp", + "xloctime": "cpp", + "xmemory": "cpp", + "xstring": "cpp", + "xtr1common": "cpp", + "xutility": "cpp" } } \ No newline at end of file diff --git a/V4/demo/demo.cpp b/V4/demo/demo.cpp index ce52e8b..1cb10a2 100644 --- a/V4/demo/demo.cpp +++ b/V4/demo/demo.cpp @@ -1,3 +1,4 @@ +#include #include #include "../econSpd.h" @@ -122,11 +123,13 @@ int main() { std::cout << "Mach for CI " << ci << ": " << ratioedMach << std::endl << std::endl; std::cout << "END Step-By-Step" << std::endl << std::endl << std::endl; - std::cout << "BEGIN All-In-One" << std::endl << std::endl; + auto start = std::chrono::high_resolution_clock::now(); float aioMach = ci2mach(altitude, weight, tipTankPercent, ci); + auto stop = std::chrono::high_resolution_clock::now(); + auto duration = std::chrono::duration_cast(stop - start); std::cout << "Mach for CI " << ci << ": " << aioMach << std::endl << std::endl; - std::cout << "END All-In-One" << std::endl ; + std::cout << "END All-In-One, " << duration.count() << std::endl ; } \ No newline at end of file diff --git a/V4/demo/demo.exe b/V4/demo/demo.exe index 0da209a..4621d25 100644 Binary files a/V4/demo/demo.exe and b/V4/demo/demo.exe differ diff --git a/V4/demo/demo.ilk b/V4/demo/demo.ilk index 0e4e4f1..626a0c9 100644 Binary files a/V4/demo/demo.ilk and b/V4/demo/demo.ilk differ diff --git a/V4/demo/demo.obj b/V4/demo/demo.obj index 133d0d5..c37320e 100644 Binary files a/V4/demo/demo.obj and b/V4/demo/demo.obj differ diff --git a/V4/demo/demo.pdb b/V4/demo/demo.pdb index 760fc56..13a873d 100644 Binary files a/V4/demo/demo.pdb and b/V4/demo/demo.pdb differ diff --git a/V4/demo/vc140.pdb b/V4/demo/vc140.pdb index 502ca24..07efeb5 100644 Binary files a/V4/demo/vc140.pdb and b/V4/demo/vc140.pdb differ