How to REALLY learn C++

Поділитися
Вставка
  • Опубліковано 28 тра 2024
  • Download PVS-Studio ► www.viva64.com/pvs-download-c...
    Enter promo code #chernikov in the message field to get a 30 day free trial instead of 7
    An Easy Way to Make Money on Bug Bounty (article) ► www.viva64.com/en/b/0660/?pro...
    Patreon ► / thecherno
    Instagram ► / thecherno
    Twitter ► / thecherno
    Discord ► thecherno.com/discord
    This video is sponsored by PVS-Studio

КОМЕНТАРІ • 826

  • @marcusterrel1686
    @marcusterrel1686 3 роки тому +3823

    Man I didn’t know Ed Sheeran knew C++

  • @anderxale1
    @anderxale1 3 роки тому +1050

    It's easy, code, fail, stack overflow - repeat. Remember to keep code/failing and learn to like it. We never stop code/failing, it's called learning.

    • @lx4302
      @lx4302 2 роки тому +7

      you can't code if you can't learn tho

    • @ngndnd
      @ngndnd 2 роки тому +66

      @@lx4302 you learn through coding. You wont learn if you sit down and read a book about coding.

    • @Foodran
      @Foodran 2 роки тому +2

      what do you mean by stack overflow?

    • @MoogieSRO
      @MoogieSRO 2 роки тому +7

      @@Foodran It's a site where you can post coding questions and read answers on questions other people asked. It's pretty much always going to be the top few results of any coding question you put to Google.

    • @mfrat
      @mfrat 2 роки тому +1

      what if u dont know what to code

  • @gulliv3rqbc177
    @gulliv3rqbc177 3 роки тому +248

    "If you want to be a writer, you must do two things above all others: read a lot and write a lot." Stephen King

  • @user-tu4kt2bw7h
    @user-tu4kt2bw7h 3 роки тому +1506

    in a nutshell: Use С++, don't just learn it

    • @whythosenames
      @whythosenames 3 роки тому +18

      Ronald Alexander you code

    • @Rocco-tb9ih
      @Rocco-tb9ih 3 роки тому +87

      @Ronald Alexander You ask a stupid question, you get a stupid answer.

    • @____uncompetative
      @____uncompetative 3 роки тому +8

      Avoid C++
      It is the worst designed language to ever be invented that wasn't done so deliberately as a joke.

    • @whythosenames
      @whythosenames 3 роки тому +2

      RPM GFX i was just going to write this lol

    • @bobboby7439
      @bobboby7439 3 роки тому +82

      @@____uncompetative what?

  • @tonychu1998
    @tonychu1998 3 роки тому +375

    my phone doesn't have an option for displaying language "C++"

    • @arnaudj2411
      @arnaudj2411 3 роки тому +32

      haha it reminds me of a Tinder screenshot where you could set C++ as a language you speak. 100% success guaranteed!!

    • @XDTuber
      @XDTuber 3 роки тому +1

      There are phone code editors to view c++ code

    • @Victor_Marius
      @Victor_Marius 3 роки тому +4

      If you want to read source code (just text) on your smartphone just rename the file and modify the extension to txt or something that can be opened by your phone
      "some_code.cpp" --> "some_code.cpp.txt"

    • @ashwin372
      @ashwin372 3 роки тому

      Lol you can use online c++ compilers loads of then not sure an app exists

    • @hungerfan552
      @hungerfan552 3 роки тому +18

      You guys are soo stupid. He means he cant change his phones language to c++ like he said in the intro with the german example

  • @yaseenkhattak1845
    @yaseenkhattak1845 3 роки тому +109

    Your advice is actually on spot, a lot of beginner programmers (including me) struggle with what to do next after learning a language and frankly no one ever feels to even address this problem. Great Content, Great tutor keep it up The Cherno !

  • @alexanderkirko
    @alexanderkirko 3 роки тому +54

    The answer is the same as it's always been in programming: find something you want to build but currently have no idea how, build it, then find another project that's different enough to push your skills more.

  • @joydivisione1420
    @joydivisione1420 3 роки тому +470

    Dude, you are the best programming content creator I've ever watched on UA-cam. Keep up the awesome work!

    • @ktarunreddy7882
      @ktarunreddy7882 3 роки тому +1

      What was your project

    • @ohlamon1812
      @ohlamon1812 3 роки тому

      @@ktarunreddy7882 unreal engine 4

    • @homomorphic
      @homomorphic 3 роки тому +2

      I have to agree. Certainly the best beginner/intermediate programmer learning channel on UA-cam.

    • @Nick-lx4fo
      @Nick-lx4fo 3 роки тому

      @Kael Hanaman Dani is more entertaining, Cherno is the best teacher

    • @TheDorkol5
      @TheDorkol5 3 роки тому +3

      I'd say cherno and chilitomatoenoodle

  • @ryansamarakoon8268
    @ryansamarakoon8268 3 роки тому +59

    This is amazing advice! I've been doing this subconsciously for other languages and always wondered why my skill in them overtook the first language I ever learnt. I'm definitely doing this for C++

  • @superscatboy
    @superscatboy 3 роки тому +67

    Alternative title: How to learn basically anything

  • @inconnn
    @inconnn 3 роки тому +258

    something that helped me was just doing it. I just went all in and did something way out of my league and learned a lot.

    • @olfmombach260
      @olfmombach260 3 роки тому +7

      What did you do?

    • @arianheight750
      @arianheight750 3 роки тому +30

      Can agree, made a game engine, better coder now.
      K, I know I made that look meme-y, but like actually I did it, and it was very not planned out, and so much spaghetti code, and oh god I need to refactor again it's only been a year since the last refactor send help pls

    • @strawberriecherrie
      @strawberriecherrie 3 роки тому +3

      Would you mind sharing what you got involved in?

    • @sangramjitchakraborty7845
      @sangramjitchakraborty7845 3 роки тому +4

      @@arianheight750 how do you even start with something like that?

    • @dimitriscollier9918
      @dimitriscollier9918 3 роки тому +8

      @@sangramjitchakraborty7845 by looking up what others did to solve the same problem. Each time you do that, you try to both optimize the process and start thinking "is that really the best way to solve this?"
      Started from not being able to understand what a server is, to writing APIs and web services for banks.

  • @alphamineron
    @alphamineron 3 роки тому +260

    Maybe I’m biased because C++ was the first language I learned but...
    I feel like C++ is one of a rare OG language that you can “read” as a language... it focuses on programming through explicitly governing the logical operations within the computer. I can look at a C++ file and understand exactly what logic the computer is being programmed to perform. It’s verbose but it’s precise.

    • @michalmaixner3318
      @michalmaixner3318 3 роки тому +21

      what other languages are you comparing c++ to? In higher languages, the logic is much more clearer as it hides more unimportant implementation details. The c++ language tells you nothing about how the electric signals are moving in cpu during execution and you probably do not care about such details. Python vs C++ is basically the same thing only at different level of abstraction. It is only your preference which level of abstraction you deem "precise" communication. At the end, the only precise language (to the best of out knowledge) which could tell you what the computer is really doing would be in terms of quantum field theory. And that would be infeasable, not to mention completely idiotic.

    • @alphamineron
      @alphamineron 3 роки тому +35

      @@michalmaixner3318 I didn’t compare C++ to any language specifically.
      And you’re reading too much into it, no one said anything about electrical signals. Read again, I said about the logical operations that the computer’s assumed to be doing... which is right above Assembly’s abstraction level. It’s the lowest you can be while maintaining a fair amount of confidence, given you know C++.
      Python is waaay above, even above JAVA... to the point where it’s basically pseudo code, where it tells you what the programmer wants to do. Not what’s happening in the logical realm (not electronic).
      So this isn’t subjective preference, it’s pretty objective that when working on code... you wanna know what’s happening in the computer realm not what the programmer wants to happen, hence lower abstraction of C++ is more preferable

    • @michalmaixner3318
      @michalmaixner3318 3 роки тому +7

      @@alphamineron
      sorry, i read the sentence
      "I can look at a C++ file and understand exactly what logic the computer is being programmed to perform."
      and thought you are actually talking about logic, instead it seems you are talking only about instructions.
      I do not know why do you care about them so much though. Important thing is first and foremost the logic, implementation comes only as a second and only once efficiency of the implementation is not sufficient for your needs. The logic itself is best described in higher level languages and most programs are implemented sufficiently enough. So unless you are working on resource-heavy software, the instruction level is just useless burden.

    • @alphamineron
      @alphamineron 3 роки тому +12

      @@michalmaixner3318 True instruction level that you talk of would be Assembly.
      C++ is at the optimal balance between abstraction level and overall code readability.
      The differences i mentioned in the prior comment is important because it makes debugging code much easier and improves the quality of the codebase without seeking online help which is a bad practice when abused by inexperienced devs who simply “copy paste” high level code which simply just works and it’s also unreliable in the long run.
      Back to your comment, After using “logic” for electronic logic as it seems from your last comment... you are switching to “logic” as in, human logic? By saying that high level language show that best...? I don’t see what’s your point is...
      By the way, you can follow those instructions and get an understanding of what’s happening under the hood. When you have all the pieces of the picture, it’s easy to pull back and look at the whole picture. It’s definitely challenging though, and other constraints make it unfeasible which is kinda obvious why everything isn’t coded in one language... each have their roles
      Simply put, high level is like buying one of those ready-to-bake cake packets, where you just add a bit of ingredients like eggs and stuff and you get your cake.
      Low level is like buying all the ingredients and making the cake yourself.

    • @michalmaixner3318
      @michalmaixner3318 3 роки тому +5

      @@alphamineron I started by saying "In higher languages, the logic is much more clearer as it hides more unimportant implementation details", meaning I was always talking about logic as logic. And then went on (unsuccessfully) trying to explain that implementation of the logic can be described in many levels of abstraction and C++ is just at one of those levels. And which level you pick as the "holy" one is just your preference (or nature of your work). By itself, it is no more special than any other abstraction level. Objectively there are only two really special ones - quantum field theory being at the bottom, pure math being at the top. Everything in between is distinguished only by your practical needs and this sentence "C++ is at the optimal balance between abstraction level and overall code readability." cannot stand on its own. Might be true for your line of work, but in general it is BS.

  • @Levi-qm5cg
    @Levi-qm5cg 3 роки тому +25

    Awesome! I was in the middle of watching your c++ series and you uploaded this while I was watching it. I have wanted to apply my c++ skills outside of the text book, but found it frustrating because I never knew where to start. Thank you!

  • @zackakai5173
    @zackakai5173 Рік тому +14

    In simpler terms, you have to actually USE it to become fluent with it. I got through my OOP class at my university without too much problem, but I didn't come out of there actually knowing how to program. I learned that a semester or two later when I actually had to design and implement my own systems and class hierarchy for a project.

  • @30saransh
    @30saransh 3 роки тому

    I was watching your older videos to revise some basics of C++, you've put on some weight.
    you're the best, please keep the videos coming!!

  • @thatsrich944
    @thatsrich944 2 роки тому +11

    Rather than starting with Hello World, I started learning C++ by jumping into open source stuff, before I even knew how to code it. I chose open source games and simulators that I actually played/used. It's easy to decipher and learn code when you know how the end product works. Then it was just a matter of adding the syntax. Functions are functions, variables are variables. Jumping into the deep end revealed how much I could figure out on my own, and what I needed to look up and learn more about. Starting with the basics doesn't challenge you to learn, it only teaches you to recite progressively complex code. Cheers!

    • @TheSpekeyMan
      @TheSpekeyMan 2 роки тому

      how much C++ have u learnt?, Like is percentage from 0-100%
      i have learnt as of now like 55.7% of C++.

    • @thatsrich944
      @thatsrich944 2 роки тому

      @@TheSpekeyMan You know more than me. But I'm just learning to learn so I don't care how long it takes lol

  • @doitnow2552
    @doitnow2552 7 місяців тому

    this advice of looking at other people's codes was so needed!!!! i wanted to see more of the language but didn't now how or where. thankssss

  • @yahyafati
    @yahyafati 3 роки тому +3

    Thank you man, I have been struggling with this for quite a while now. It's good to know what my next step should be.

  • @rafaelvillalobos9145
    @rafaelvillalobos9145 3 роки тому +14

    The one piece of advice no one ever gave me, I had to discover it on my own. The only advice I would ever receive from people is: start coding, it's the only way to learn a programming language. And I would simply find myself asking myself, how do I f*** do that! In any case, the point being made is that only when I began reading real life source code did I truly transition from simply knowing the syntax of a programming language to actually using the language. This is good advice.

  • @marcuspvxea
    @marcuspvxea 3 роки тому +4

    Went into C# knowing nothing on a friday and then spent the whole weekend (objectively was supposed to be C++ but didnt turn out so) to work on a "launcher" that i've wanted to make for some time, incredibly hard as i knew nothing what arguments i were supposed to use and what not.
    I took up a incredibly challenging task and ended up doing what i wanted to do and i ended up learning a big portion of C#.
    It all leans to doing something you find interesting thats challenging at the same time, best way to learn and then being in a small chat with a few people who love to just code stuff where we talk about coding and add ideas to what we could do better or how u could code it easier.
    By far best way of learning for me. Obviously if i were to go into basics it would be far more easier and it would save me time and would be the way to go. But thats the fun part
    TLDR work on something u want to do and find people u can talk about coding who's also encaustic

  • @vaibhavsingh8974
    @vaibhavsingh8974 3 роки тому +22

    This might be just the thing I wanted to hear Today to get me motivated and have a new approach to learning C++ and Java. Thank you :)

  • @ageneralstateofchaos
    @ageneralstateofchaos 3 роки тому

    This is the first time you've come up in my feed since your old game dev tutorials. Glad you're looking healthy. Thanks for the videos.

  • @sophiacristina
    @sophiacristina 2 роки тому +3

    I think we need an objective when learning programming...
    I first touched c++ when i was 13, but i don't knew what to do with it on my life activities (i regret not continuing, anyway, i learned other things)...
    After i began to mess with music, i learned that "music is math", so i decided to learn programming, and when i was learning i really WANTED to do music out of it...
    That is when it really began to flow from me... When you have an objective in your mind, that your really really want, YOU DO IT!
    Don't just program for the "sake of it", program because you WANT IT... Then, chasing your dreams will naturally make you find solutions to your problems... And it being a dream, it is something you won't surrender (at least, that is what i hope from you)...

  • @filipespadetto4042
    @filipespadetto4042 2 роки тому +2

    I was looking for something like that and UA-cam recommended this precious information. Thank you for help our dev community evaluates!

  • @JustMamba
    @JustMamba 3 роки тому +10

    The book" Ultra learning" by scott young. This guy completed the whole mit computer science degree in a year.math programming everything on his own. The book is amazing and has helped me tremendously. He has also used his technique to learn to speak fluent in other language's in a matter of months.

  • @samuelwanjare7193
    @samuelwanjare7193 Місяць тому +1

    All your videos are good and helpful but this is one of the most important ones.🎉 Thank you for this.

  • @M0niqa91
    @M0niqa91 Рік тому +4

    I just passed my C++ exam with a very good result! Thank you for this great series :)

  • @vhxhao
    @vhxhao 3 роки тому +5

    I think I have an invisible Cherno fairy by my side. This is exactly what I was wondering nowadays after watched your 90+ C++ tutorials! Thank you so much!

  • @drawwithkristi
    @drawwithkristi Рік тому

    I needed to hear this. Thank you!

  • @alexeykononov5596
    @alexeykononov5596 3 роки тому +18

    Keep up creating great learning content! If someone is really interested in a topic, they will learn through daily practice. In the end, this is the only way. Nobody CAN TEACH you anything, but you CAN LEARN from all possible sources.

  • @ganeshnimbalkar2792
    @ganeshnimbalkar2792 3 роки тому +2

    This is truly an underrated channel. Finding it makes me feel fortunate.

  • @VineetNairhero
    @VineetNairhero 3 роки тому +160

    Cherno : "whtever level tht is"
    Me : Legendary

  • @shuaixu7579
    @shuaixu7579 3 роки тому

    Great job! I learned a lot from your videos. Thanks!

  • @robertjr8205
    @robertjr8205 Рік тому +5

    I really don’t understand when many people say “do projects, something simple like a Mario game.” I feel this type of advice is more for people who have a almost intermediate knowledge in c++. You can’t expect someone who knows nothing about c++ or programming in general to know exactly where to start just by doing projects. If I do a project like that to learn, I’ll feel as if I’m just copying and pasting and not really learning anything that way and wasting a lot of time.
    I’m not sure. This is coming from someone who has no clue where to start and only has the most basic stuff down on c++.

    • @Willlll17
      @Willlll17 Рік тому

      Having a project is motivating and even though you copy a lot, you also adapt a lot of code and things slowly sink in. You will feel a bit more comfortable on your second project and so on

    • @zhulikkulik
      @zhulikkulik Рік тому

      That's because this video is for people, who have some knowledge.
      Instead of mindlessly copying you should copy thoughtfully. Meaning that not only you just copy someone's solution and change names, but you try to figure out why something's done the way it is done. And if you cant' figure something out - try to break it into pieces and google each piece.
      That's a generic approach that works almost everywhere. You learn music by playing others' songs before you can actually write your own album. But as soon as you can play, say, Teen Spirit - you may try to write «your own» Nirvana riff. As soon as you copied some cool looking girl from a comic book cover - you can try to draw something similar.
      You also first learn real language by just trying to mimic whatever you hear from parents/relatives/tv/radio etc, but very soon you find out how to ask for food or a toy for example.

  • @moemanm1202
    @moemanm1202 3 роки тому +1

    this makes Soo much sense. i am almost ashamed i didnt think of doing this. thanks for bringing up this topic

  • @kuroakevizago
    @kuroakevizago 3 роки тому

    Thanks Cherno, You' re the best at giving examples

  • @GoogleUser-uv5ci
    @GoogleUser-uv5ci 3 роки тому +4

    He still continuing this series after 3 years
    Thanx

  • @CyborKat
    @CyborKat 2 роки тому

    New viewer here! This video instantly gave me lots of hope. You earned yourself a subscriber.

  • @puganrothchild1753
    @puganrothchild1753 2 роки тому +1

    A great video, I think. Uh as a c plus plus beginner, I didn't know how to learn C plus plus before watching your video. But now I understand how to learn C plus plus in a better way. Thank you.

  • @Chiramisudo
    @Chiramisudo Рік тому +11

    What tips do you have when first looking at a new Open Source project that you're unfamiliar with? Should we start by reading the docs / wiki? Open issues? Dependencies? Preprocessor statements? Main function?
    What's your general approach to familiarizing yourself with a new code base?

    • @luckybutunlucky8937
      @luckybutunlucky8937 Рік тому +2

      I would not focus on preprocessor commands or using any outside libraries and dependencies until you learn the core language libraries and functionality. In my opinion becoming a good programmer means knowing how to reinvent the wheel so you don't have to rely on other people libraries and code as a crutch. It is good to know how to read other people code, but my experience with C/C++ has been easy despite what people say about it, it's actually easier than python was for me. If you never programmed anything in your life don't start with Python because it's supposed to be easy, do whichever language that is easiest for you to start off with and gravitate towards harder ones. If you know how to program in C/C++ than any other programming language won't be far out of your reach to learn since the concepts with repeat.

  • @aghaaahshiiiiiiikeiji6726
    @aghaaahshiiiiiiikeiji6726 2 роки тому

    thanks it really helped widen my perspective
    now i might be able to learn cpp in a better way
    i m starting today with first lecture (as a beginner)
    wish me luck!!

  • @javlonbekfayzullaev3448
    @javlonbekfayzullaev3448 Рік тому

    Thank you, you helped me a lot, finally I find out the right path of my journey.

  • @2Fast4Youtube
    @2Fast4Youtube 3 роки тому +4

    Thank you, needed this

  • @deepikagoyal07
    @deepikagoyal07 Рік тому

    Very informative video. Thanks!!

  • @skatersims33
    @skatersims33 2 роки тому +8

    Great video! I love how you related natural languages (German, Japanese) to programming. Really cool.

  • @philipklein1448
    @philipklein1448 3 роки тому +2

    Cherno, Can you do a video on the Stringizing operator (for the preprocessor), or a more in depth look at preprocessor statements?

  • @Cocandre
    @Cocandre 3 роки тому +6

    That's a really good advice. At one point I thought I could write a small fluid simulation in C++ ... and then I saw OpenFOAM and how crazy the code was. Due to my studies I went towards Python and didn't have time to come back to C++ , but it definitely was a humbling experience.

    • @abdulazizmohammed2854
      @abdulazizmohammed2854 Рік тому

      What programming language is better in computational physics or math python or c++?

  • @samifoery7498
    @samifoery7498 2 роки тому

    Thanks friend, very useful advices!

  • @McFlyT28
    @McFlyT28 3 роки тому

    The most important video you've ever made. Well done!

  • @kennethmcausland2360
    @kennethmcausland2360 3 роки тому

    For me, it makes sense to do what he said but later. First, learn some data structures. Then learn the abstract data types that the structures are suppose to be, implementations off of ADTs. Find out why each implementation is chosen. Then move on to learn different paradigms. I've learned Object Oriented programming first and now I'm studying functional programming. Next up is concurrency and parallelism that functional programming excels at. Then move on to procedural programming with data bases. Boom, I have all of my go to tools for my skill set. Now it's time to for open source projects along with some of my projects. This with some free lance jobs, you'll be right on track for a proper career change.

  • @sakithanavod9289
    @sakithanavod9289 3 роки тому +1

    You helped a lot! Thanks man

  • @CPlusPlusMadeEasy
    @CPlusPlusMadeEasy 5 місяців тому

    The Cherno is such a good resource to anyone on the coding journey, so much valuable information

  • @dev4424
    @dev4424 3 роки тому

    first time visiting the channel and found my solution . again wanna say thanks. keep doing the good work bro... :) _____________from Bangladesh

  • @Mintels
    @Mintels Рік тому +3

    I already have learned the basics and can read the fundamentals of any code I see, though when adding things such as other libraries and going past iostream and cmath, I didn’t have a clue, thanks for the advice and I will be sure to try it to expand my knowledge more into the field of c++ I want to take a closer look into!

    • @Sab.1695
      @Sab.1695 4 місяці тому

      hi bro i have exposure to cpp to decent extent i can write functions and basic stuff should i focus more on learning a bit more advance concepts and logic building or learn different libraries ?

  • @Joseph-oq5fz
    @Joseph-oq5fz 2 роки тому +6

    I’m learning Python and this is an amazing advice. Thanks

  • @shahilhussain6466
    @shahilhussain6466 Рік тому

    that was so beautifully explained!

  • @PeaceSeeking24
    @PeaceSeeking24 3 роки тому

    Thanks a lot you are always inspiring me to keep on with C++

  • @roni1451
    @roni1451 3 роки тому +12

    So, it definitely helps having an experienced professional C++ developer friend nearby.

  • @Iamine1981
    @Iamine1981 3 роки тому +3

    I do have a decent exposure to C++ so far and actually really enjoy the language, even though at times some of its concepts are obscure and there are too many! I got involved in an open-source project a few years back and got to a level where I am now struggling with speed issues so, naturally, the next frontier I wanted to explore was GPU programming with C++ Cuda. However, I find the learning curve still quite steep from classic c++ to Cuda, and it is frustrating to me. Any suggestions? thank you!

  • @TopConductor
    @TopConductor 3 роки тому +1

    Hi, Cherno! I really love your videos, they are great.
    I would really love to see video about copy elision and NRVO. Those thing can really mess up with understanding of your code if you haven't heard about them.
    Cheers.

  • @nitemare3904
    @nitemare3904 3 роки тому +13

    Leaving your comfort zone is the hardest thing to do. This applies not only to learning.

  • @awardmathpu4231
    @awardmathpu4231 3 роки тому

    I have become over the years a professional c# coder and I never EVER needed to be "Tough how" so to say I was only set off with the basics. These are like variables classes... but. After that I was left pretty much alone in the topic. As it turns out it is only ever going to benefit you coding if the first programming language you do you are really only nudged along but defiantly not though. There is a much more of a beauty to it because your mind feels more compelled to do it if you set off on mini projects. It takes away the stress of it being homework or you must do it. If you can' t keep this constant interest up then coding is not for you. Though after a while it becomes addicting. I personally started on a calculator. Now lets talk about why would these tutorials actually help. It is because if you seen one language you seen it all. After you are in that coder mindset It is just learning the syntax and a little more depending on the langue but with one of these 4 hour courses after your first language these are worth it to learn one in whole. So to sum up the title above says it all "really learn c++".

  • @mattheworndoff5788
    @mattheworndoff5788 3 роки тому +7

    Great advice, no matter what language you're interested in.
    Too many people descend into tutorial/courses purgatory and
    never make it out.

  • @moeinshams6068
    @moeinshams6068 Рік тому

    Superb, just like always.

  • @songslyrics7912
    @songslyrics7912 3 роки тому

    Its sounds so technically! Thank🙏🙏 cherno

  • @danielc4267
    @danielc4267 2 роки тому

    I just started diving into ROS Nav2, which is used for robot navigation. I am going really really slow. But I am glad that Cherno approves of this method.

  • @Mystixor
    @Mystixor 3 роки тому

    Really awesome and motivating video, thanks!
    Would you mind telling me about the song in the background? Can it be found or is it a private piece? :)

  • @tyfoodsforthought
    @tyfoodsforthought 3 роки тому +3

    Old follower here (before your C++ series started).. when I first started programming I wanted to dive into C++ and build my own physics engine. Yeah... maybe a wee bit too ambitious!
    I ended up going into web development instead because it's a lower barrier to entry (Much easier to learn and much faster to start getting paid for).
    Anyway, I still learned a tremendous amount from your C++ series, and it made learning Web Development/Other languages WAY easier, and I'm eternally grateful.
    Second point is, I will hopefully soon be getting back into the C++ game soon.. and watching this brought back so many awesome memories. Your content is simply priceless. Such clear explanations and great emphasis on what really matters when it comes to programming. You're definitely one of the best programming educators out there.
    Thank you so much! I'll be sure to become a Patron ASAP!
    P.S. I'm extremely proud of what you've done with your youtube channel beginning with the start your C++ series. It's really impressive/inspiring!!!

  • @cybershake2347
    @cybershake2347 3 роки тому +23

    If you hang around the barber shop long enough, sooner or later, you are going to get a hair cut.

    • @dionyzus2909
      @dionyzus2909 3 роки тому +6

      this makes no sense

    • @vytasffbismarck7001
      @vytasffbismarck7001 3 роки тому

      @@dionyzus2909 maybe if haircut is included in his funeral package

    • @dionyzus2909
      @dionyzus2909 3 роки тому +4

      @@vytasffbismarck7001 I just realized it probably was a joke about his hair size. I was overthinking the comment as if related to C++ learning lol

  • @MrAayyush
    @MrAayyush 3 роки тому

    Really helpful and inspiring videos.

  • @herobrineslayer1585
    @herobrineslayer1585 7 місяців тому

    I really like the part where you said to immerse yourself into the language. I'm trying to learn spanish and I changed all me devices over to spanish a week ago

  • @gunzdev9295
    @gunzdev9295 3 роки тому +21

    I'm not c++ dev I only code python and at a really novice level but IMO a good way to improve at coding or learning things in general is to learn through personal projects which really motivates you !
    I 1st learned python during my IT technician course and I was a total trash at it because it was explained through mathematical / algorithmical concepts and it honestly was boring / felt hard to learn.
    then ...
    a few years after I needed to upgrade some python coded 3d modeling software's plugins of one of my favorite games of my childhood.
    I then took the scripts and relearn python through upgrading those tools and managed to upgrade the whole shit and make it display something on screen.
    This made me learn A REAL LOT of things about Python programming / hexadecimal files formatting / reverse engineering / 3d models concepts such as vertex positions vertex textcoords ...etc
    and I'd say python is probably my favorite programming (scripting :) ) language today !
    Learn through your own projects ! You'll get more motivation / self reward by doing so

    • @lardosian
      @lardosian 3 роки тому +1

      Yes same here, used my interest in football to create a football scores quiz using python/flask and a json file of football results for an entire premiership year, learned a lot.

  • @mahdimaleki6513
    @mahdimaleki6513 2 роки тому

    Thanks a lot, really helpful.

  • @theFirstAidKit
    @theFirstAidKit 3 роки тому

    I found out that the best way to learn a language is to first learn to code. The syntax and the nick nacks of the language are something you can learn while writing the code. So for me, I'm just starting to learn C++, I'll spend a few days studying the basics and the syntax. Then I have a project in mind that is going to be quite big. I think I will end up with atleast 10 000 lines of code in the end. It won't be the most elegant thing to exist, but it will have a lot of different problems that need to be answered with a good solution. When I'm done, I will recode the worst parts of it and maybe do some restructuring. When I'm finally finished in 6-8 weeks, I'll know how to code in C++. There's always something new to learn, sure, but I'll be confident enough that I can start using the language in my other projects.

  • @jaymike5062
    @jaymike5062 3 роки тому +12

    I've been learning c++ for the last few months. I have never programmed before....... I kept following tutorial after tutorial. The repetition of the tutorials didn't teach me much. Instead I started to write down some simple ideas I would like to do and started coding it myself. If I was stuck I'd do a quick google to point myself in the right direction. The tutorials are great to 'point you in the right direction' but you will never learn this way. I mean 'really' learn. Who knows how many years it will be until I have a solid grasp on c++.. but I have learned more just doing something myself with a help from google here and there then a tutorial telling me something. You only really understand and learn when applying the knowledge yourself. Keep typing, keep hitting the compile button..make a sh*t ton of mistakes and you will learn.

    • @sathvikreddy4807
      @sathvikreddy4807 2 роки тому

      Hey , i am a beginner , i really don't know anything about coding!!
      I did some research and decided to learn C++.
      Can you tell me where should I learn it from?
      Should I learn it youtube or udemy or any other website!!

    • @lx4302
      @lx4302 2 роки тому +1

      interesting, i've also been learning c++. however, i'm just stuck at doing the same code over and over again, recalling the concepts learning a new thing but not really even applying it practically. the resources (learncpp, geeksforgeeks, books, etc.) im using arent enough because im not really a genius, i need some practice and some tutorials to teach me. luckily, i know how to choose which tutorials are bad and good for learning. goodluck to you and your journey, and mine!

  • @vali69
    @vali69 3 роки тому +1

    Today, actually, I've done a small homework for a class at uni, no big deal, but it was about litterly googling a sorting algorithm and then writing it in pseudocode, extremely basic stuff right, but the site I found it on I didn't understand the written description at all, but then I read the c++ code and was like "ohh, that's it? Ok that makes sense"... on the class itself tho, we're supposed to start learning c and c++ in a few weeks so that's exciting... will have to go watch some tutorials tho so I could go to those classes like ducks through water haha

  • @owenburke978
    @owenburke978 3 роки тому +2

    Would it be possible to have a video on socket programming / networking in C++ in the future?

  • @pepepotamo4819
    @pepepotamo4819 3 роки тому

    And finally here I am at the end of the course. Well i know there is a new video with binary operators ¡great!. I think it's been the first time in my life that i've ended a youtube course completely!!! From now on the journey is on my own. Thank you "The Cherno" but this is probably the best course on internet.

  • @beulahsepulveda3108
    @beulahsepulveda3108 Рік тому

    That's a really good advice. thanks

  • @feitingschatten1
    @feitingschatten1 3 роки тому +1

    I learned game programming in the 90's and early 2k's. Your first 90 seconds haven't existed in like 15 years. They really DO ask you how to implement vectors and stuff. You must be lucky and have contracting or otherwise people who know you can code. I have 10 years of code owned by major companies that I can't transfer anywhere, so outside of the few friends that needed my skills, I'm CONSTANTLY asked to know everything and implement algorithms. I get along better with retired coders since they're the last generation that seemed to learn how to code without importing thousands of dependencies.
    Side note, I'm a mobile dev. I've worked on Bejeweled, Xbox, as well as enterprise meeting room stuff. I'm not a systems programmer, and my last time using C++ on-the-job was Cocos2d. I actually created the code they use for the scroll view in the C++ version (after converting it from paging). Seriously who makes a "scroll view" that's just paging...
    I learned to organize code by a combo of LaMothe and Multiplayer game philosophy, while rewriting map editors.

  • @calibr0636
    @calibr0636 3 роки тому

    im not yet done in my journey of learning c++, but the first thing ill do with it is small project. like fun but stupid small projects. then ill try doing some big things once i have the hang of it

  • @sergegreenband7699
    @sergegreenband7699 2 роки тому +3

    Such a nice piece of advice dude. have always been learning that way too. Immersion is a key to learn anything.

  • @wrmusic8736
    @wrmusic8736 2 роки тому +4

    "you are not expected to know everything upon being hired" - oh boy

  • @ehza
    @ehza 10 місяців тому

    Thank you man!

  • @ruslankostiuk1475
    @ruslankostiuk1475 3 роки тому +1

    Trying to learn both C++ and English watching your videos, thank you

  • @mohamedhussien4013
    @mohamedhussien4013 Рік тому

    Can you suggest opensource projects for beginners?
    How to get in the repo and understand the base lines to contribute?
    Thanks in advance.

  • @robert36902
    @robert36902 2 роки тому

    Great tip, thanks!

  • @FedJimSmith
    @FedJimSmith 3 роки тому +2

    C++ projects spans a wide range of categories, can u guide us which should I specifically look for, game engine? Embedded ? Drivers?

  • @AllahomAnsorGaza
    @AllahomAnsorGaza 2 роки тому

    we love you cherno
    right now im study your c++ series but i really curies about cmake i see it alot did you create video for it or not yet

  • @kelvinchikezie9370
    @kelvinchikezie9370 3 роки тому

    This is good man. Thanks

  • @Eddieddg1
    @Eddieddg1 2 місяці тому

    Hmm... good to know that I am on point... I am almost 2 hours into Bro Code's full 6 hour c++ tutorial and decided I want to make an auto clicker I found a good open source bas and am currently trying to implement keybind changing.

  • @harshjha6774
    @harshjha6774 3 роки тому

    you are my mentor sir!!!! Not my boring professor's

  • @umairalvi7382
    @umairalvi7382 3 роки тому

    Very much needed video.

  • @Chiramisudo
    @Chiramisudo Рік тому +2

    Brilliant advice. This is exactly how I learn as well.
    BTW, I'm literally learning Japanese. I'm currently the only person left in my house who doesn't speak it fluently. 😅

  • @shafiulAlamShafi
    @shafiulAlamShafi 8 місяців тому

    Very useful guideline

  • @madhurimaburagohain7438
    @madhurimaburagohain7438 3 роки тому

    I am great fan of you. Please make videos on boost multi index container.

  • @imojado7294
    @imojado7294 3 роки тому

    This is super informative.

  • @ram980ram980
    @ram980ram980 3 роки тому +1

    Good video! One tip: can you lower the background music volume a little?

  • @xUnic31x
    @xUnic31x 3 роки тому

    I'm still somewhat new to programming. Is there a good centralized website where you can find a lot of source codes?

  • @kuhluhOG
    @kuhluhOG 3 роки тому

    Well, if you haven't already (which is surprisingly often not the case), learn how to use the standard library (especially the algorithm header; this one can save you A LOT of time).