I'm a sophomore majoring in mechanical engineering, and I'm currently enrolled in a required intro to C/C++ programming course. It's a bit confusing because our professor mentioned we would only focus on C, even though the course is labeled as C/C++. On top of that, the professor's teaching style isn't the best, and the textbook, Zybook, isn't really helping me learn effectively. I'm a hands-on learner who benefits from repetition, so I'm looking for suggestions on some simple projects that could help me better understand and retain programming concepts. By the way, I have an Arduino Uno, and I think C and C++ share a lot in common. Any ideas? Thanks in advance!
2 Answers
Getting started with Arduino can actually be a lot of fun! Try creating a basic project where you control an LED. Start simple: make it turn on after a second, then move on to making it flash on and off. You can even add a button to control it, which will teach you about events. Once you get comfortable, challenge yourself with more complex tasks like using multiple LEDs for a binary counter or integrating different sensors. The satisfaction you get from seeing your project work can really help solidify your coding skills!
If you enjoy gaming, why not create your own game? That's how I got better at coding! You could start with something simple like an incremental game or a small web-based game. It's engaging, and you'll learn a lot more as you work on something fun.

Totally agree! Making games has been one of the most fulfilling things for me. Plus, you’ll pick up web development skills along the way!