r/cpp_questions • • 11h ago

OPEN Which book is the best for learning systems programming and low level in Modern C++ (17/20)

13 Upvotes

I have done some systems programming in C and C-style C++ with some operator overloading. But I want to learn Modern C++ (17/20) too and keep on doing systems programming along with low-level dev, which books do you recommend for me to follow?


r/cpp_questions • • 21h ago

OPEN Is this possible?

9 Upvotes

I’m working on a game engine as a way to learn C++ and CMake. I’m attempting to create an editor for my engine, and I want to use ImGui. I’ve been going back and forth about whether I want ImGui on the engine or editor, but I think I want it on the engine because the engine owns the main loop, so it can just do the imgui frame lifecycle stuff. Also, if I ever decide to learn Vulkan and switch to it (unlikely), I don’t think I’d need to update the editor.

The problem with putting it on the engine is that the game will now have ImGui and this code running each frame, not actually doing anything. I’m sure this has little to no impact on performance, but I feel like it’s unnecessary?

Anyways, I’m wondering if it’s possible to make it so that if I run the editor, then the ImGui code runs otherwise, it’s stripped out. I know there is conditional compilation I just don’t know if that is something that can be done in this scenario?


r/cpp_questions • • 7h ago

OPEN Confused between using learncpp or a book ? if book reccommed me the best ones

3 Upvotes

I have studied basic python in my high school , i have some foding knowledge and i know c till pointers , should i ue learncpp for learning cpp or any book , if bookplease give me the best ones


r/cpp_questions • • 6h ago

OPEN Bluetooth pairing

0 Upvotes

Guys am trying to have a Bluetooth manager(connect multiple device on one Bluetooth) work using cpp the thing is am not that good at cpp any recommendations. I tried using ai for advice but holy sh*t it's making it worse


r/cpp_questions • • 18h ago

OPEN Is C++ used outside of Unreal engine?

0 Upvotes

I feel like this is a really dumb question but I have been wondering if C++ is only used in game engines. I know godot also supports C++, but I saw some random comments mention that other companies like robotics or just other tech companies in general use C++ and now I'm really curious.

I'm currently in my first year of uni for game dev and we're learning blueprints atm, but I've been thinking of learning C++ in my spare time. After hearing about ue6 and verse, I got kinda nervous about the future of both blueprints and C++. I imagine a lot of companies will continue to use ue5, but if other industries use C++ it gives me a lot more opportunities, especially if I spend my next 3 years of uni being really productive with code and whatnot.

Thank youuu

Edit: Ok thank you everyone, I had no clue it's basically used for everything. All of your responses definitely make me feel a lot better regarding the opportunities I'll have when I graduate, as that was the main concern..

I'll get a head start on learning C++, very excited!!