Skip to content

Latest commit

 

History

History
56 lines (34 loc) · 1.12 KB

File metadata and controls

56 lines (34 loc) · 1.12 KB

learnplusplus

A collection of small modules I wrote to learn C++. Most of the code isn't documented and excludes features and complexity that would clearly improve the program primarily because I was trying to focus on learning a single element of the language, rather than perfecting my code. I found these useful and thought to share.

sh run.sh

Input/Output Script

  • First interactions with C++
  • Basic text I/O

Guessing Game

  • Control flow

Calculator

  • Declare, define, call functions
  • Local and global scope

Array Statistics

  • Utilizing arrays and basic iteration
  • Basic array operations

Palindrome Checker

  • Manipulate and handle strings
  • String concatenation, comparison, and searching

Dynamic Array

  • Pointers, references, dynamic memory allocation
  • Pointers and references in functions

Bank Account Manager

  • OOP Basics
  • Defining and using classes

Shape Hierarchy

  • Inheritance and polymorphism
  • Deriving classes and virtual functions

Contact List

  • Reading and writing from files
  • File streams

Generic Stack

  • Templates
  • Creating generic functions and classes