r/learnprogramming • • 3d ago

Tutorial i want to learn cpp but dont know where to

im a 11th student.. i want to be a gamedev and i want to learn c++ and some other stuff before i enter into btech .....so i need videos to learn .....plz dont recommed me learncpp....i want video tutorials

0 Upvotes

19 comments sorted by

5

u/desrtfx 3d ago

Get used to written material. You will need to read more than watch. Documentation is also written, not videos.

Do learncpp.com if you really want to learn.

-1

u/jerky_jack4002 3d ago

the issue from learncpp isnt that i cant learn from it ........setting up codeblocks was irritating but still got a lot of errors

4

u/desrtfx 3d ago

You absolutely have to bite through such things if you want to prevail in programming. You will always face such problems along.

If you give up because of "errors", you will never succeed.

Learncpp.com is the resource

2

u/lurgi 3d ago

You think video tutorials will be better? For stuff like this they might be worse. It's a lot easier to search written documentation for details than to search videos.

Plus, the internet is your friend. If you have a problem, google it. You are not the first person to have this issue

1

u/betarage 2d ago

Codeblocks is really bad I think clion or vs code are more convenient I am not sure why they reccomended codeblocks. I also got tricked into using that one by a guide.

1

u/michellev_626 22h ago

If you want to troubleshoot the setup, share the first complete compiler error and the exact build action. Later errors can cascade from the first, so start there.

4

u/bonnth80 3d ago

learnc... oh wait.. nvm.

2

u/Ecstatic-Parfait7803 3d ago

Bruh I was gonna do the same haha ngl

1

u/rasmusdf 3d ago

Read Bjarnes book. It is well structured and not that long.

1

u/cyrixlord 3d ago

troll through the most popular youtube videos on c++ programming then. find some that you like

1

u/no_name6744 3d ago

Dapperbloop wants to learn cpp

1

u/Correct_Rain_9438 3d ago

For C++ on video, freeCodeCamp has a free "C++ Tutorial for Beginners - Full Course" on YouTube, about 4 hours. The Cherno also has a C++ series of 100+ videos, and he works on game engine stuff, so it might line up with the gamedev goal.

1

u/LonelyCaterpillar6 3d ago

Your actual problem isn't learncpp vs videos, it's the setup — and that's the part everyone hates at first, so don't let it put you off C++ itself. Skip Code::Blocks for now: install VS Code, add the C/C++ extension, and install MinGW-w64 (or use Visual Studio Community, which bundles the compiler and just works on Windows). If even that fights you, use an online compiler like Programiz or OnlineGDB for the first few weeks so you can focus on the language, then come back to a local setup once you're comfortable.

For videos, The Cherno's C++ series on YouTube is the one most game-dev learners swear by, and freeCodeCamp has a full beginner C++ course. A good rhythm: watch one video, then immediately write the code yourself and change things to see what breaks — that's where the learning sticks. Since you want game dev, once you're okay with the basics (loops, functions, classes), try making a tiny console game like Snake, then look at Raylib — it's a simple C library made exactly for beginners getting into games. Starting in 11th puts you way ahead, good luck.

1

u/betarage 2d ago

For game design you should also learn about game engines since the c++ guides don't talk about graphics much. and making games in c++ without an engine is really confusing and tedious compared to some other languages you can use raylib for games too.

1

u/rosario-e5 16h ago

What OS are you on? The easiest C++ setup depends on it, and the Code::Blocks errors alone aren't enough to choose a useful fix.

1

u/AddAcrobatic6275 4h ago

Start with freecodecamp or The cherno’s c++ tutorials, and build small projects as you learn.

0

u/Acceptable-Fig2884 3d ago

I bought a $6 course on udemy and it was great. They're almost always on sale and most of the courses are very well designed.