r/cpp_questions • • 3d ago

OPEN Starting C++ with a little programming background.

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.

19 Upvotes

11 comments sorted by

5

u/Bergergi 3d ago edited 3d ago

Don't your school have a course you could take? Structured education with feedback on problem sets etc, is valuable - you should make the most of it while you're in a university environment.

Stroustrup:"Programming: Principles and Practice Using C++", is a good book for somebody in your position.

2

u/snaxshow 3d ago

Sadly no, i can only choose to take out drop classes by my own department. I’m free to go next door to CS department but our classes overlap.
Thanks for the book suggestion, i also originally wanted to start with that one but wasn’t sure if it was good

5

u/Nervous-Change-4173 3d ago

Remember this carefully, It's a trap to just learn and doing nothing, each concept write it, practice it do a very small program on it, this how brains absorb the info, do not go to the tutorial hell, and I would recommend

Starting out with C++ tonny gaddis

2

u/snaxshow 3d ago

Yeah, it’s what i did for python too. Coding is like math. Unless you write it down or practice messing around with it, you won’t lock it in.

3

u/_side_ 3d ago

That is the correct answer here. I started learning C++ two centuries ago (jez). Important are basically two things: 1. Make sure you know when to use it and when not 2. These days there is one big advantage which is also the biggest disadvantage: There is AI. AI can write C++ and it can help with learning it, but only if you want to. Regarding 1: C++ is made for use cases where you have to be in control. This sounds cool, but in order to exploit that it requires some knowledge about how computers and compilers work under the hood.

2

u/Independent_Art_6676 3d ago

python is used in industry. A lot of software has user provided plug-ins in python, at one example. But its used outside of the lab and hobby code in surprising places. It will do you good to know both, so don't forget what you know thinking its of no value.

1

u/snaxshow 3d ago

Of course! I’m taking python in college right now for computational analysis and numerical analysis

5

u/mkhanwrites_ 3d ago

You could look at https://eecs280staff.github.io/notes/ - notes for the intro data structures course at the University of Michigan

-3

u/Environmental_Gap_65 3d ago

Don’t read books. Start programming.

-3

u/IWantToBeHappy12 3d ago

Do some research why us gov is phasing out C++ and asking public to do the same

3

u/Mediocre-Pumpkin6522 3d ago

Is that the same government that fell in love with Ada?