diff options
author | Oskar <[email protected]> | 2024-08-15 21:22:06 +0200 |
---|---|---|
committer | Oskar <[email protected]> | 2024-08-15 21:22:06 +0200 |
commit | ccf67ccfcf7fa892559db8d1475c3217e9692ae2 (patch) | |
tree | c2291f2a5290e1f5ddbfd719db55b7aa8f254484 | |
parent | 38e3c732d86165a84cd872e96e10ca1e811f2bb1 (diff) |
removed some headers to maybe speed up compile time maybe it will work i dont know
-rw-r--r-- | 2p10.cpp | 1 | ||||
-rw-r--r-- | 2p12.cpp | 1 | ||||
-rw-r--r-- | 2p13.cpp | 1 | ||||
-rw-r--r-- | 2p14.cpp | 1 | ||||
-rw-r--r-- | 2p15.cpp | 1 | ||||
-rw-r--r-- | 2p16-2p17.cpp | 1 | ||||
-rw-r--r-- | 2p18.cpp | 1 | ||||
-rw-r--r-- | 2p20.cpp | 1 | ||||
-rw-r--r-- | 2p21.cpp | 1 | ||||
-rw-r--r-- | 2p25.cpp | 1 | ||||
-rw-r--r-- | 2p3-2p4.cpp | 1 | ||||
-rw-r--r-- | 2p30-2p31.cpp | 1 | ||||
-rw-r--r-- | 2p32.cpp | 1 | ||||
-rw-r--r-- | 2p33-2p34.cpp | 1 | ||||
-rw-r--r-- | 2p35.cpp | 1 | ||||
-rw-r--r-- | 2p36.cpp | 1 | ||||
-rw-r--r-- | 2p37.cpp | 1 | ||||
-rw-r--r-- | 2p38.cpp | 1 | ||||
-rw-r--r-- | 3p1-1p10.cpp | 1 | ||||
-rw-r--r-- | 3p1-1p11.cpp | 1 | ||||
-rw-r--r-- | 3p1-1p9.cpp | 1 | ||||
-rw-r--r-- | 3p10.cpp | 2 | ||||
-rw-r--r-- | 3p12.cpp | 2 | ||||
-rw-r--r-- | 3p13.cpp | 2 | ||||
-rw-r--r-- | 3p14.cpp | 2 | ||||
-rw-r--r-- | 3p15.cpp | 2 | ||||
-rw-r--r-- | 3p16.cpp | 2 | ||||
-rw-r--r-- | 3p17.cpp | 2 | ||||
-rw-r--r-- | 3p18.cpp | 2 | ||||
-rw-r--r-- | 3p19.cpp | 2 | ||||
-rw-r--r-- | 3p2-v1.cpp | 2 | ||||
-rw-r--r-- | 3p2-v2.cpp | 2 | ||||
-rw-r--r-- | 3p20.cpp | 2 | ||||
-rw-r--r-- | 3p21.cpp | 2 | ||||
-rw-r--r-- | 3p22.cpp | 2 | ||||
-rw-r--r-- | 3p23.cpp | 2 | ||||
-rw-r--r-- | 3p24.cpp | 2 | ||||
-rw-r--r-- | 3p25.cpp | 2 | ||||
-rw-r--r-- | 3p26.cpp | 2 | ||||
-rw-r--r-- | 3p27.cpp | 2 | ||||
-rw-r--r-- | 3p28.cpp | 2 | ||||
-rw-r--r-- | 3p29.cpp | 2 | ||||
-rw-r--r-- | 3p3.cpp | 2 | ||||
-rw-r--r-- | 3p30.cpp | 2 | ||||
-rw-r--r-- | 3p31.cpp | 2 | ||||
-rw-r--r-- | 3p32.cpp | 2 | ||||
-rw-r--r-- | 3p33.cpp | 2 | ||||
-rw-r--r-- | 3p34.cpp | 2 | ||||
-rw-r--r-- | 3p35.cpp | 2 | ||||
-rw-r--r-- | 3p36.cpp | 2 | ||||
-rw-r--r-- | 3p37.cpp | 2 | ||||
-rw-r--r-- | 3p38.cpp | 2 | ||||
-rw-r--r-- | 3p39.cpp | 2 | ||||
-rw-r--r-- | 3p4.cpp | 2 | ||||
-rw-r--r-- | 3p40.cpp | 2 | ||||
-rw-r--r-- | 3p41.cpp | 2 | ||||
-rw-r--r-- | 3p42.cpp | 2 | ||||
-rw-r--r-- | 3p43.cpp | 2 | ||||
-rw-r--r-- | 3p44.cpp | 2 | ||||
-rw-r--r-- | 3p45.cpp | 2 | ||||
-rw-r--r-- | 3p5.cpp | 2 | ||||
-rw-r--r-- | 3p6-v2.cpp | 2 | ||||
-rw-r--r-- | 3p6.cpp | 2 | ||||
-rw-r--r-- | 3p7.cpp | 2 | ||||
-rw-r--r-- | 3p8-v1.cpp | 2 | ||||
-rw-r--r-- | 3p8-v2.cpp | 2 | ||||
-rw-r--r-- | 3p9.cpp | 2 | ||||
-rw-r--r-- | 4p1.cpp | 16 | ||||
-rw-r--r-- | 4p2.cpp | 17 | ||||
-rw-r--r-- | exercise-template.cpp | 2 |
70 files changed, 33 insertions, 115 deletions
@@ -1,5 +1,4 @@ #include <iostream> -#include "sales_item.hpp" /* * @@ -1,5 +1,4 @@ #include <iostream> -#include "sales_item.hpp" /* * @@ -1,5 +1,4 @@ #include <iostream> -#include "sales_item.hpp" /* * 2.13 @@ -1,5 +1,4 @@ #include <iostream> -#include "sales_item.hpp" /* * Yes, it is legal if you aren't using compilerflags like me. @@ -1,5 +1,4 @@ #include <iostream> -#include "sales_item.hpp" /* * diff --git a/2p16-2p17.cpp b/2p16-2p17.cpp index 8a7b8eb..fce6274 100644 --- a/2p16-2p17.cpp +++ b/2p16-2p17.cpp @@ -1,5 +1,4 @@ #include <iostream> -#include "sales_item.hpp" /* * @@ -1,5 +1,4 @@ #include <iostream> -#include "sales_item.hpp" /* * @@ -1,5 +1,4 @@ #include <iostream> -#include "sales_item.hpp" /* * @@ -1,5 +1,4 @@ #include <iostream> -#include "sales_item.hpp" /* * @@ -1,5 +1,4 @@ #include <iostream> -#include "sales_item.hpp" /* * diff --git a/2p3-2p4.cpp b/2p3-2p4.cpp index dcc0c86..2b2cb9c 100644 --- a/2p3-2p4.cpp +++ b/2p3-2p4.cpp @@ -1,5 +1,4 @@ #include <iostream> -#include "sales_item.hpp" /* * diff --git a/2p30-2p31.cpp b/2p30-2p31.cpp index eecbdbd..9c2e781 100644 --- a/2p30-2p31.cpp +++ b/2p30-2p31.cpp @@ -1,5 +1,4 @@ #include <iostream> -#include "sales_item.hpp" /* * @@ -1,5 +1,4 @@ #include <iostream> -#include "sales_item.hpp" /* * diff --git a/2p33-2p34.cpp b/2p33-2p34.cpp index bc16416..334474a 100644 --- a/2p33-2p34.cpp +++ b/2p33-2p34.cpp @@ -1,5 +1,4 @@ #include <iostream> -#include "sales_item.hpp" /* * @@ -1,5 +1,4 @@ #include <iostream> -#include "sales_item.hpp" /* * @@ -1,5 +1,4 @@ #include <iostream> -#include "sales_item.hpp" /* * @@ -1,5 +1,4 @@ #include <iostream> -#include "sales_item.hpp" /* * @@ -1,5 +1,4 @@ #include <iostream> -#include "sales_item.hpp" /* * diff --git a/3p1-1p10.cpp b/3p1-1p10.cpp index 79a1396..57e0382 100644 --- a/3p1-1p10.cpp +++ b/3p1-1p10.cpp @@ -1,5 +1,4 @@ #include <iostream> -#include "sales_item.hpp" /* * diff --git a/3p1-1p11.cpp b/3p1-1p11.cpp index 8f8a647..3fe0ea8 100644 --- a/3p1-1p11.cpp +++ b/3p1-1p11.cpp @@ -1,5 +1,4 @@ #include <iostream> -#include "sales_item.hpp" /* * diff --git a/3p1-1p9.cpp b/3p1-1p9.cpp index ba717e3..6069cd7 100644 --- a/3p1-1p9.cpp +++ b/3p1-1p9.cpp @@ -1,5 +1,4 @@ #include <iostream> -#include "sales_item.hpp" /* * @@ -1,6 +1,4 @@ #include <iostream> -#include "sales_data.hpp" -#include "sales_item.hpp" /* * @@ -1,7 +1,5 @@ #include <iostream> #include <vector> -#include "sales_data.hpp" -#include "sales_item.hpp" /* * @@ -1,7 +1,5 @@ #include <iostream> #include <vector> -#include "sales_data.hpp" -#include "sales_item.hpp" /* * @@ -1,7 +1,5 @@ #include <iostream> #include <vector> -#include "sales_data.hpp" -#include "sales_item.hpp" /* * @@ -1,7 +1,5 @@ #include <iostream> #include <vector> -#include "sales_data.hpp" -#include "sales_item.hpp" /* * @@ -1,7 +1,5 @@ #include <iostream> #include <vector> -#include "sales_data.hpp" -#include "sales_item.hpp" /* * @@ -1,8 +1,6 @@ #include <iostream> #include <vector> #include <cctype> -#include "sales_data.hpp" -#include "sales_item.hpp" /* * @@ -1,7 +1,5 @@ #include <iostream> #include <vector> -#include "sales_data.hpp" -#include "sales_item.hpp" /* * @@ -1,7 +1,5 @@ #include <iostream> #include <vector> -#include "sales_data.hpp" -#include "sales_item.hpp" /* * @@ -1,6 +1,4 @@ #include <iostream> -#include "sales_data.hpp" -#include "sales_item.hpp" /* * @@ -1,6 +1,4 @@ #include <iostream> -#include "sales_data.hpp" -#include "sales_item.hpp" /* * @@ -1,7 +1,5 @@ #include <iostream> #include <vector> -#include "sales_data.hpp" -#include "sales_item.hpp" /* * @@ -1,7 +1,5 @@ #include <iostream> #include <vector> -#include "sales_data.hpp" -#include "sales_item.hpp" /* * @@ -1,7 +1,5 @@ #include <iostream> #include <vector> -#include "sales_data.hpp" -#include "sales_item.hpp" /* * @@ -3,8 +3,6 @@ #include <ctime> #include <cstdlib> #include <random> -#include "sales_data.hpp" -#include "sales_item.hpp" /* * @@ -1,7 +1,5 @@ #include <iostream> #include <vector> -#include "sales_data.hpp" -#include "sales_item.hpp" /* * @@ -1,7 +1,5 @@ #include <iostream> #include <vector> -#include "sales_data.hpp" -#include "sales_item.hpp" /* * @@ -1,7 +1,5 @@ #include <iostream> #include <vector> -#include "sales_data.hpp" -#include "sales_item.hpp" /* * @@ -1,7 +1,5 @@ #include <iostream> #include <vector> -#include "sales_data.hpp" -#include "sales_item.hpp" /* * @@ -1,7 +1,5 @@ #include <iostream> #include <vector> -#include "sales_data.hpp" -#include "sales_item.hpp" /* * @@ -1,7 +1,5 @@ #include <iostream> #include <vector> -#include "sales_data.hpp" -#include "sales_item.hpp" /* * @@ -1,6 +1,4 @@ #include <iostream> -#include "sales_data.hpp" -#include "sales_item.hpp" /* * @@ -1,7 +1,5 @@ #include <iostream> #include <vector> -#include "sales_data.hpp" -#include "sales_item.hpp" /* * @@ -1,7 +1,5 @@ #include <iostream> #include <vector> -#include "sales_data.hpp" -#include "sales_item.hpp" /* * @@ -1,7 +1,5 @@ #include <iostream> #include <vector> -#include "sales_data.hpp" -#include "sales_item.hpp" /* * @@ -1,7 +1,5 @@ #include <iostream> #include <vector> -#include "sales_data.hpp" -#include "sales_item.hpp" /* * @@ -1,7 +1,5 @@ #include <iostream> #include <vector> -#include "sales_data.hpp" -#include "sales_item.hpp" /* * @@ -1,8 +1,6 @@ #include <iostream> #include <vector> #include <iterator> -#include "sales_data.hpp" -#include "sales_item.hpp" /* * @@ -1,8 +1,6 @@ #include <iostream> #include <vector> #include <iterator> -#include "sales_data.hpp" -#include "sales_item.hpp" /* * @@ -1,7 +1,5 @@ #include <iostream> #include <vector> -#include "sales_data.hpp" -#include "sales_item.hpp" /* * @@ -1,7 +1,5 @@ #include <iostream> #include <vector> -#include "sales_data.hpp" -#include "sales_item.hpp" /* * @@ -1,7 +1,5 @@ #include <iostream> #include <vector> -#include "sales_data.hpp" -#include "sales_item.hpp" #include <cstring> #include <string> #include <limits> @@ -1,6 +1,4 @@ #include <iostream> -#include "sales_data.hpp" -#include "sales_item.hpp" /* * @@ -1,8 +1,6 @@ #include <iostream> #include <vector> #include <cstring> -#include "sales_data.hpp" -#include "sales_item.hpp" /* * @@ -1,7 +1,5 @@ #include <iostream> #include <vector> -#include "sales_data.hpp" -#include "sales_item.hpp" #include <iterator> /* @@ -1,7 +1,5 @@ #include <iostream> #include <vector> -#include "sales_data.hpp" -#include "sales_item.hpp" #include <iterator> /* @@ -1,7 +1,5 @@ #include <iostream> #include <vector> -#include "sales_data.hpp" -#include "sales_item.hpp" #include <iterator> /* @@ -1,7 +1,5 @@ #include <iostream> #include <vector> -#include "sales_data.hpp" -#include "sales_item.hpp" #include <iterator> /* @@ -1,7 +1,5 @@ #include <iostream> #include <vector> -#include "sales_data.hpp" -#include "sales_item.hpp" #include <iterator> /* @@ -1,6 +1,4 @@ #include <iostream> -#include "sales_data.hpp" -#include "sales_item.hpp" /* * @@ -1,6 +1,4 @@ #include <iostream> -#include "sales_data.hpp" -#include "sales_item.hpp" /* * @@ -1,6 +1,4 @@ #include <iostream> -#include "sales_data.hpp" -#include "sales_item.hpp" /* * @@ -1,6 +1,4 @@ #include <iostream> -#include "sales_data.hpp" -#include "sales_item.hpp" /* * @@ -1,6 +1,4 @@ #include <iostream> -#include "sales_data.hpp" -#include "sales_item.hpp" /* * @@ -1,6 +1,4 @@ #include <iostream> -#include "sales_data.hpp" -#include "sales_item.hpp" /* * @@ -1,6 +1,4 @@ #include <iostream> -#include "sales_data.hpp" -#include "sales_item.hpp" /* * @@ -0,0 +1,16 @@ +#include <iostream> +#include <vector> + +/* + * + * 4.1 + * + * + */ + +int main () { + + // It will print: 105 + std::cout << 5 + 10 * 20/2 << std::endl; + return 0; +} @@ -0,0 +1,17 @@ +#include <iostream> +#include <vector> + +/* + * + * 4.2 + * + * + */ + +int main () { + + //* vec.begin() // Function is called, then dereferenced + //* vec.begin() + 1 // Function called, dereference, add + + return 0; +} diff --git a/exercise-template.cpp b/exercise-template.cpp index c6f4d6f..0048d2b 100644 --- a/exercise-template.cpp +++ b/exercise-template.cpp @@ -1,7 +1,5 @@ #include <iostream> #include <vector> -#include "sales_data.hpp" -#include "sales_item.hpp" /* * |