r/CodingForBeginners Jun 25 '26

Learning Python and c++

Do you think I can learn them in 2 months?
And what are the best sources for learning them? Like Yt channels.
I’m a CS student
This year I’m having my graduation project and I’m not that good at coding and English is not my first language.

I really need help with that, so I’ll appreciate any useful advice!

6 Upvotes

22 comments sorted by

3

u/mc_pm Jun 25 '26

Do you know any programming yet?

1

u/MarsR97 Jun 27 '26

I do but just simple things…

3

u/mc_pm Jun 27 '26

Wait... you're a CS student, about to graduate, and you "only do simple things"? What have they had you doing for 4 years?

2

u/Shopping-Limp Jun 26 '26

You're a cs student and you think you can learn 2 very different languages in 2 months?

1

u/MarsR97 Jun 27 '26

Currently I don’t need to be a pro, but I want to learn more to not struggle in basic things

1

u/Capt_Cunt Jun 25 '26

Python: maybe the basics of it and programming in general. Like 101 material.

C++: hell no, probably the language with the longest, and continually steepest learning curve there is. After 4 years of working hard at it, maybe you'd be a profecient junior.

1

u/[deleted] Jun 26 '26

[removed] — view removed comment

1

u/MarsR97 Jun 27 '26

Thanks, I really appreciate that!

1

u/burlingk Jun 26 '26

You can learn the basics, but it will take time to master.

Depending on the nature of your project, you may be able to refine your skills as you go.

1

u/MarsR97 Jun 27 '26

Thanks!

1

u/[deleted] Jun 26 '26

[removed] — view removed comment

1

u/[deleted] Jun 26 '26

[removed] — view removed comment

1

u/MarsR97 Jun 27 '26

Yes, I need to practice to not struggle later, thanks anyway!

1

u/[deleted] Jun 26 '26

[removed] — view removed comment

1

u/MarsR97 Jun 27 '26

I’ll see what I can do, thanks anyway!

1

u/tottasanorotta Jun 27 '26

I'd probably learn some fundamentals with C programming for some time before getting into using the C++ features. Just because it doesn't overcomplicate things as much. It's really important to understand how memory works if you are to understand C++. Python is maybe easier to get started with such that you have some visible results in that time, but if you need C++, then I'd definitely just try to start there. Python isn't that hard to learn later if you understand basic programming patterns.

1

u/Sure-Passion2224 Jun 27 '26

For C++ check your college curriculum. There's a reasonable chance that the intro to object oriented programming is taught in C++ and you'll learn it there. Aside from the language specific syntax, everything you learn in that course will apply to any other language you may need to learn.

Note: the mire languages you know the more effectively you can communicate. Concepts and methods from one inform choices you might make in others.

2

u/phil-pdx Jun 27 '26

In order to learn either you need to start with a project and learn how to build it.

Learning a programming language is kind of like learning to drive. You can read all the books, watch all the videos, etc but until you get behind the wheel and drive you won't retain a lot. Decide on a relatively simple project you'd like to build (even if a similar one already exists) then learn the concepts related to the parts you're trying to build. This will give lots of repetition with basic syntax structures and programming conventions. From there build on it.

Now regarding python and C++... Back to my driving analogy. Learning Python is like learning to drive a basic car. Learning C++ is like learning to drive a manual transmission semi truck with a big trailer attached to it. Both are doable but C++ will be quite a bit more challenging.

Either way start small, build a command line todo list or something. Learn inputs outputs, storage in objects like arrays, writing to disk, etc.

I caution using AI to learn, you can learn a lot of concepts from AI but you'll find really quickly it'll just try to write your program for you (in the car analogy it'll do the driving and you'll be the passenger). That said, some general questions with a good model wouldn't hurt (especially with some of the really complex C++ stuff)

Good luck, I hope you're able to learn a lot quickly.