Throughout this class, I have completed three programming projects to demonstrate my proficency regarding programming notions in the C++ language. My spotlight project is something of an asset management tool for grocery items (or any other kind of item). It uses object-oriented design, the notions of a pointer and reference, and other useful notions in coding.
- Spotlight Project: this is a simple "asset management" utility that keeps count of items, expressed as a
string
, and then outputs their frequency or frequency distribution.
I also present two other projects that I worked on in the class:
- Project 1: A simple C++ utility that keeps time.
- Project 2: A simple C++ accounting tool that works out compound interest.
These are smaller projects that I completed to demonstrate proficency in C++ coding constructs:
- Module 1: Driving Costs: C++ programme to calculate a driving cost with a basic formula.
- Module 2: Mad Libs: C++ programme to emulate the Mad Libs games.
- Module 2.5: Broken calculator: Broken C++ programme
Calculator.cpp
that needs to be fixed (I saved fixed version asCalculator_Fixed.cpp
).
- Module 2.5: Broken calculator: Broken C++ programme
- Module 3: Vector Sorting: C++ programme to sort a
vector
with the Bubble Sort algorithm. - Module 4: Classes: A programme that demonstrates the object-oriented features of C++.
- Module 5: File I/O: C++ programme that converts temperature and reads and writes the results into text files as a means to demonstrate file input/output operations.
- Module 6: Exception handling: A programme that demonstrates exception handling in C++.
- Module 7: The Linked List: C++ programme that implements a Linked List and demonstrates the use of pointers to get memory addresses.
Solutions to selected problems from the zyBooks textbook:
- Bibi, K. (2022). Pass String by Reference in C++. Linux Hint. Last Retrieved on Jun. 23, 2023 from: https://linuxhint.com/pass-string-reference-cpp/
- cplusplus.com (n.d.).
std::set
. Last Retrieved on Jun. 23, 2023 from: https://cplusplus.com/reference/set/set/ - Rollbar Editorial Team (2021). Throwing Exceptions in C++. Last Retrieved on Jun. 23, 2023 from: https://rollbar.com/blog/error-exceptions-in-c/
- Techie Delight (n.d.). Use an object as a key in
std::set
in C++. Last Retrieved on Jun. 23, 2023 from: https://www.techiedelight.com/use-object-key-stdset-cpp/ - Tutorials Point (n.d.). Set
insert()
in C++ STL.