r/cpp_questions • • 22h ago

OPEN Can you recommend a good source for learning constexpr/consteval patterns?

1 Upvotes

The specific thing I'm thinking of right now is a function that looks like:

auto func(auto... args)
{
    for each arg {
        if arg is type T {
            do a thing with T
        }
        else if arg is type U {
            do a thing with U
        }
        else {
            compile error
        }
    }
}

but I'm not just looking to solve just this specific issue, I'd like to learn a substantial amount of this skillset.


r/cpp_questions • • 16h ago

OPEN where am I heading?

0 Upvotes

I've recently started learning c++ and will go through every part of it and its related stuff. the goal is to learn until i can myself work on projects where micro-seconds matter. passed only high school, followed my family business. now i want to make a career out of this. i've also studied about dsa, networking low level stuff, basics ... . can experienced , currently in-industry people tell me what can i expect and what compnies/niche i can work in given my background? Thanks for your time.


r/cpp_questions • • 17h ago

OPEN What extent did "Black October" affect the transition from C++ to Rust?

0 Upvotes

I'm cs student and i was thinking about how this will affect or change the shift from the foundational language C++ to Rust. I want to see what those with more experience in this field think.


r/cpp_questions • • 11h ago

OPEN Starting C++ with a little programming background.

10 Upvotes

I’ve been into programming and software since highschool which’s when i started self learning python. I’m not an expert in python but i know logic flow, functions, data types, loops, lists and dictionaries.
Now i’m in my sophomore year majoring in Math Science. Turns out python is used mostly for scientific research. However, I plan to work in industry rather than go the academic and research route.
I wanted to find a book that covers C++ topics intensively, absolute beginner level, and also having enough chapters where after i finish, i’d have a strong background and could easily dive into a specific part of C++.
So far i’m just learning the basics of software engineering and programming, haven’t yet decided what i wanna do.