This repository contains programming assignments, projects, and examples from my BSc (Hons) in Computer Science undergraduate degree, specifically from the Introduction to Programming course unit. The focus is on basic programming concepts using the C++ language.
The Introduction to Programming course covers fundamental programming principles, including:
- Basic Syntax and Structure in C++
- Variables, Data Types, and Operators
- Control Structures (Loops, Conditional Statements)
- Functions and Recursion
- Arrays and Pointers
- Basic Object-Oriented Programming Concepts
- File Handling
Each file in this repository is an individual exercise or project that demonstrates a specific concept.
- Assignments/: Contains completed course assignments.
- Examples/: Short code snippets for practice.
- Projects/: Larger coding projects completed during the course.
To run these programs:
-
Clone this repository to your local machine:
git clone https://github.com/your-username/intro-to-programming-cpp.git
-
Navigate to the program you want to run and compile using a C++ compiler, such as
g++:g++ filename.cpp -o output ./output
Ensure you have a C++ compiler installed. Examples include g++ for GCC or clang++.
This repository is licensed under the MIT License. You are free to use and modify the code; however, please give appropriate credit.