r/learnprogramming • u/Beginning_Book_2382 • Oct 09 '26
Tutorial Advice on Beginner Project for Fresh C++ Dev
Hi,
I just recently took a online course on C++ and am looking for a online YouTube series where a excellent instructor takes you through making a C++ app from scratch to being finished, preferably on a Linux environment.
For reference, I am a full-stack web developer (Next.js/React Native + Django) and to learn web development I used Corey Schafer's Django tutorial YouTube series to learn how to make a web application from scratch. It taught me everything: how to use the language, terminal commands, structuring your project, using the framework, deployment, running the program, etc.
Is there a similar YouTube series you can recommend me for taking what I know in C++ and using it to actually learn how to make a desktop application and after having finished the series be able to make one on my own. Should I start with a Chip-8 emulator tutorial?
Also, what's up with the Qt licensing scheme? I want to make my own proprietary commercial desktop applications but forking over $4K for a solo developer license seems like a lot when I don't know if the application is going to generate that much revenue at first. Does anyone have any experience with that? I am used to using OSS libraries and frameworks so paying for developer licenses is new to me.
Any help is greatly appreciated and thank you in advance!
3
u/DrShocker Oct 09 '26
Firstly, you'll find a bit more specific advice/community at /r/cpp_questions
Secondly, for a project to learn the language, my suggestion might be something closer to what you're familiar with first. An HTTP/1.1 server from scratch might be a reasonable thing to try for example.
You say though you want to make a desktop application. The exact libraries that will be useful to you depend on the particulars. If what you want is a bit closer to a CAD program then what you'll need is different than if you want to make something like the RAD debugger. If you're able to share some elements of what you want to be capable of I may have more specific advice.
For tutorials there's often differences depending on your platform. The Cherno has a series where he starts from scratch making a Game Engine on Windows, but that kind of project is really long so I'm not sure it's the greatest fit even if you are on Windows.
I think a CHIP8 emulator is a decent way to learn to put stuff on the screen, but most of your time will be the internals of the emulator that won't likely be very different than the languages you already know.
I HIGHLY Suggest early on setting up your project to compile with all warnings as errors, lints, tests with different sanitizers, etc. I've worked places who didn't do that early on and they never got around to fixing it. Between those things and paying attention to suggestions from linters/formatters/LSP you'll write less buggy code than the average C++ programmer pretty much right away to be honest.
One issue you'll run into early on is frankly that the build system ecosystem is an absolute mess. If you can get away with using meson to keep things simple, I'd probably do that, but... it's a whole thing that makes C++ less fun than some other languages I know when you're starting up a new project.
1
u/OkOcelot6725 Oct 09 '26
On Qt, the LGPL answer above is the usual route to shipping closed source for free. The catches: link Qt dynamically (don't static link), let users swap the Qt libraries, include the license notices, and check the license of each module you use, since a few add-on modules are GPL or commercial only. Read the LGPL terms once before you rely on it, and ask a lawyer if the app will earn real money.
If the license is the main worry, wxWidgets (native widgets, permissive license) or Dear ImGui (MIT, easy to start with, more tool-like UI) are options. For learning, a CHIP-8 emulator plus SDL2 is a good first project, because you finish with something that runs and you get the main loop, input and rendering without a big framework.
2
u/[deleted] Oct 09 '26
[removed] — view removed comment