2020 | 2nd semester of Computer Science
This repository contains a collection of programming exercises from the "Structured Programming" course, which is part of my engineering degree program. The exercises focus on various concepts of C programming, including arrays, pointers, structures, memory management, and more.
The repository includes the following examples:
- Function Implementations: Various examples of functions working with arrays, pointers, and other structures.
- Array Manipulation: Code that shows how to manipulate and process arrays.
- Structures: Examples of C structures being used to model data.
- Pointers: Demonstrations of how pointers work in C, including pointer manipulation and memory management.
- Matrix Operations: Codes that perform matrix operations, such as summing elements, calculating averages, and matrix multiplication.
- Prime Number Calculations: Programs to check whether a number is prime and to find the largest prime number below a given number.
- Linked Lists: A linked list program demonstrating the creation and deletion of list elements.
- String Manipulation: Programs that work with strings, performing tasks like trimming, counting digits, etc.
- Clone the repository to your local machine:
git clone https://github.com/dormej/engineering-structural-programming.git
- Navigate to the repository directory:
cd structural-programming - Open any
.cfile in your preferred text editor and compile it using a C compiler:gcc filename.c -o filename ./filename