|
1 |
| -# Language C - Example |
| 1 | +# C Example | Language programming project |
2 | 2 | #### Author: Bocaletto Luca
|
3 | 3 |
|
4 |
| -Language C - Example Collection |
| 4 | +This repository contains a collection of various C programming projects designed to illustrate fundamental and advanced concepts in C. Each project is developed as a one-page example with detailed inline comments to help developers understand the language. All projects are fully documented and serve as practical exercises for learning and improving your C programming skills. |
| 5 | + |
| 6 | +Maintained by [Bocaletto Luca](https://github.com/bocaletto-luca). |
| 7 | + |
| 8 | +## Projects - Directory Example |
| 9 | + |
| 10 | +1. **Hello World Program** |
| 11 | + A basic program that prints "Hello, World!" to the console, introducing the core structure of a C program. |
| 12 | + |
| 13 | +2. **Simple Calculator** |
| 14 | + A command-line calculator that performs addition, subtraction, multiplication, and division based on user input. |
| 15 | + |
| 16 | +3. **Temperature Converter** |
| 17 | + Converts temperature values between Celsius and Fahrenheit using user-defined criteria. |
| 18 | + |
| 19 | +4. **Random Number Guessing Game** |
| 20 | + A game where the computer selects a random number and the user guesses it, with hints provided for each guess. |
| 21 | + |
| 22 | +5. **Fibonacci Sequence Generator** |
| 23 | + Generates the Fibonacci sequence up to a specified number of terms using iterative methods. |
| 24 | + |
| 25 | +6. **Prime Number Checker** |
| 26 | + Checks if an input number is prime, utilizing optimized loop conditions to improve efficiency. |
| 27 | + |
| 28 | +7. **File I/O: Read and Write** |
| 29 | + Demonstrates basic file input and output operations by writing user input to a file and reading it back. |
| 30 | + |
| 31 | +8. **Array-Based Stack Implementation** |
| 32 | + Implements a stack data structure using a fixed-size array, supporting push, pop, and peek operations. |
| 33 | + |
| 34 | +9. **Sorting Algorithms: Bubble Sort and Insertion Sort** |
| 35 | + Provides complete examples of bubble sort and insertion sort algorithms applied to an array of integers. |
| 36 | + |
| 37 | +10. **Searching Algorithms: Linear and Binary Search** |
| 38 | + Compares linear search with binary search, including requirements for sorting and efficiency considerations. |
| 39 | + |
| 40 | +11. **Singly Linked List Implementation** |
| 41 | + Demonstrates a singly linked list with operations to insert, search, delete, and display nodes. |
| 42 | + |
| 43 | +12. **Basic Banking System Simulation** |
| 44 | + A simulation of a simple banking system that includes account creation, deposit, withdrawal, and balance checking, with persistent file storage. |
| 45 | + |
| 46 | +13. **Tic Tac Toe Game** |
| 47 | + A text-based Tic Tac Toe game for two players, complete with win/tie conditions and board display logic. |
| 48 | + |
| 49 | +14. **Hangman Game** |
| 50 | + Implements the classic Hangman game, where players guess letters of a secret word with a limited number of wrong attempts. |
| 51 | + |
| 52 | +15. **Caesar Cipher for Encryption/Decryption** |
| 53 | + Encrypts and decrypts text using the Caesar cipher, shifting letters by a specified number and handling both cases of text. |
| 54 | + |
| 55 | +16. **Student Record Management System** |
| 56 | + A simple CRUD system to manage student records stored in a binary file, featuring operations to create, list, search, update, and delete records. |
| 57 | + |
| 58 | +17. **Memory Management and Pointer Exercises** |
| 59 | + A series of exercises focusing on dynamic memory allocation, pointer arithmetic, and proper memory deallocation. |
| 60 | + |
| 61 | +18. **Multithreading with POSIX Threads (pthreads)** |
| 62 | + Demonstrates the creation and synchronization of multiple threads using pthreads, with mutex locks to protect shared data. |
| 63 | + |
| 64 | +19. **Basic Chatbot Program** |
| 65 | + A simple text-based chatbot that utilizes basic string pattern matching to respond to user input in an interactive loop. |
| 66 | + |
| 67 | +20. **Binary Search Tree (BST) Implementation** |
| 68 | + Implements a binary search tree with operations for insertion, searching, and traversals (in-order, pre-order, and post-order). |
| 69 | + |
| 70 | +## Additional Projects |
| 71 | + |
| 72 | +This repository also includes other extra projects that explore various additional topics and techniques in C programming. |
| 73 | + |
| 74 | +## License |
| 75 | + |
| 76 | +This repository is licensed under the GPL License. |
0 commit comments