
My first project as a beginner
https://github.com/vadyasha07/Command-Line-Drone-Config-Simulator
Hello everyone!
I've been learning C++ for a few weeks now and just finished my first relatively big project: a Command-Line Drone Configuration Simulator.
Repository link: https://github.com/vadyasha07/Command-Line-Drone-Config-Simulator
What I’ve implemented so far:
Modular Architecture: Split the code into logical modules with separate header (.h) and source (.cpp) files (main, drone, encryption).
State Management: The drone's behavior depends on a set of states (isWork, isFlight, onGround) managed within a custom namespace Drone.
Input Validation: Implemented bulletproof input validation using std::cin.clear() and std::cin.ignore() to prevent infinite loops when a user accidentally enters letters instead of numbers.
Case Insensitivity: Used std::toupper to ensure the menu works seamlessly regardless of whether the user types uppercase or lowercase commands.
I’ve tried my best to follow clean code practices, separate declarations from implementation, and handle edge cases (like a password-protected access panel with limited attempts and proper landing sequences with real-time simulation delays).
As a beginner, I would highly appreciate any feedback, tips, or constructive criticism. Is the project structure solid? Are there any anti-patterns I should avoid in the future?
Thank you in advance! Any advice is gold for me right now.