A collection of C/C++ lab exercises focused on foundational data structures, algorithms, and basic string/array operations.
This repository contains coursework-style implementations grouped by lab folders.
Most programs are standalone console applications (each file is typically a separate exercise).
Main topic areas include:
- Array operations (insert, delete, linear/binary search)
- Sorting (bubble sort, merge-style merging examples)
- String operations (copy, compare, concat, reverse, replace, word count, shuffle)
- Pattern problems and basic algorithm practice
- Introductory stack/queue/linked-list exercises
Key folders:
LAB-01,LAB-02,LAB-03,lab-04,Lab-05— core lab tasksLAB TEST 01,LAB AFTER MID-01— test and post-midterm practice workPattern Matching— string/pattern matching exercisesQueue— queue implementation practice in C++string replacement,word count— focused standalone exercises
- Language: C and C++
- Style: standalone console programs
- Build system: no single project-wide build script (compile files individually)
Since each program is independent, compile and run a specific file directly.
gcc "LAB-03/bubblesort.c" -o bubblesort
./bubblesortg++ "Queue/main.cpp" -o queue_app
./queue_appOn Windows, run the generated
.exefile instead.
- Some folders include generated IDE/build output directories like
bin/andobj/. - File and folder naming is based on lab submission structure and may contain spaces.
- Programs are primarily educational and may not follow production-level conventions.
Contributions are welcome to improve:
- Code clarity and consistency
- Input validation and edge-case handling
- Documentation and folder organization
If you want to contribute, please:
- Fork the repository
- Create a feature branch
- Make your changes
- Open a pull request with a clear description
No license file is currently included in this repository.
If you plan to reuse the code publicly, consider adding a license (for example, MIT).