Intro to Binary and Bitwise Operators in C++

Поделиться
HTML-код
  • Опубликовано: 4 мар 2021
  • The first 1000 people to use the link will get a free trial of Skillshare Premium Membership: skl.sh/thecherno03211
    Patreon ► / thecherno
    Instagram ► / thecherno
    Twitter ► / thecherno
    Discord ► thecherno.com/discord
    Series Playlist ► thecherno.com/cpp
    This video is sponsored by Skillshare.

Комментарии • 325

  • @TheCherno
    @TheCherno  3 года назад +206

    C++ series is back!! ❤️ Thank you all for watching! Don't forget that the first 1000 people to use the link will get a free trial of Skillshare Premium Membership: skl.sh/thecherno03211

    • @imagination704
      @imagination704 3 года назад

      Yes!!!!!

    • @ShivamJha00
      @ShivamJha00 3 года назад

      @Elite Fusion yes, and this video is a part of that course

    • @SimoLPers
      @SimoLPers 3 года назад

      Great series and so entertaining!
      Do you have any videos planned for intrinsic functions? I've seen a couple already, but I still don't quite get how it works...
      Would be great to see it coming at some point in time :)
      But already thanks a lot for all the great work! Keep on going!

    • @billynugget7102
      @billynugget7102 3 года назад

      Yesss

    • @breazfreind402
      @breazfreind402 3 года назад

      Do you have any websites to supplement the learning

  • @devpartap9748
    @devpartap9748 3 года назад +245

    Holy cow!!! We got a c++ video, after centuries!!

  • @267praveen
    @267praveen 3 года назад +70

    Topics suggestions
    1. Variadic templates
    2. Regex
    3. Memory model in C++
    4. Perfect forwarding
    5. SFINAE

  • @ojussinghal2501
    @ojussinghal2501 3 года назад +53

    Cherno: Bitwise operators
    Also Cherno in the same video: How capacitors store state of bits in RAM
    You are one of a kind programming tutor.

  • @CreativeSteve69
    @CreativeSteve69 3 года назад +100

    Yay glad to see the c++ series making a comeback cherno.

  • @pepepotamo4819
    @pepepotamo4819 3 года назад +52

    I'm about to finish the C++ series and now this DLC!

    • @sadhlife
      @sadhlife 3 года назад +4

      free DLC is always appreciated

  • @kuroakevizago
    @kuroakevizago 3 года назад +10

    Cherno 2021 : "Compiler is smart, smarter than you probably"
    Somehow I feel that Compiler really is smarter than me XD

  • @Bruhger
    @Bruhger 3 года назад +37

    The main difference between some of my uni classes and your YT series, is that I understand all of what you have to say, in compile time. No extra learning required.

  • @playonce4186
    @playonce4186 3 года назад +27

    You are getting younger and younger day by day, is that the effect of mastering C++ and 3d graphics after the headache is over :D

  • @stepanhrbek8151
    @stepanhrbek8151 3 года назад +35

    Oh yes, bitwise operators, thanks!

  • @igorsemenov7224
    @igorsemenov7224 3 года назад +25

    At last! Thank you, I learned a lot from your c++ series and now it's back, I'm so glad!

  • @thechubbypanda
    @thechubbypanda 3 года назад +20

    The thumbnail is staring into my soul

  • @matthewpapesh
    @matthewpapesh Год назад +2

    My favorite and goto playlist for reviewing C++ for the past few years! I've also been following your OpenGL series and both have been very interesting and helpful. Thanks a ton!

  • @slavago1266
    @slavago1266 3 года назад +14

    Wow, now you're into some computer engineering stuff! You told me in 20 mins all that my university teachers were telling me for 1 year. Well done, The Cherno! Make more videos like this! Thank you!

  • @universecreator988
    @universecreator988 3 года назад +2

    This is by far the most comprehensive introduction to bitwise operators I have ever seen. Really good content

  • @kimberlymutanga1068
    @kimberlymutanga1068 3 года назад +14

    Dude your work is amazing you explain this stuff in a fun and cool way
    I apreciate your work broo
    Thank you so much

  • @kaustubhnarkhede5166
    @kaustubhnarkhede5166 3 года назад +1

    good to see you back! and also really loved the new style of explanation.. hope to see more like these!

  • @stefmijs8238
    @stefmijs8238 3 года назад +2

    Thank you for continuing the c++ series. So far the c++ series have helped me with my study and work. Greets from the Netherlands.

  • @xperiahenrik
    @xperiahenrik 3 года назад

    I love the new thing with you drawing pictures to further explain what you're talking about, it makes it very easy to follow.

  • @ehsan18t
    @ehsan18t 3 года назад

    Thanks a lot man for talking about this topic. Normally bit shifting always had jumped over my head because I couldn't make any sense why it works like that until this video. Your in-depth explanations is really amazing. Waiting for next video. ❤️

  • @zed_business519
    @zed_business519 6 месяцев назад

    bro you are amazing, you have just simplified the concept more than enough. thanks.

  • @robertsedgewick1266
    @robertsedgewick1266 3 года назад +1

    Nice to see you back in this series! Great video as usual

  • @ThatHipsteCat
    @ThatHipsteCat 3 года назад +1

    Dropped it literally as soon as I needed it for my OS class. Thanks so helpful!

  • @mazdakhng3013
    @mazdakhng3013 3 года назад

    so happy to see you back! never forget your precise & deep explanations of the topics

  • @imagination704
    @imagination704 3 года назад +33

    Omg yes!!!!!!!!!!!!!! Low level!!!! OmG!!!!

  • @eversonnunes5662
    @eversonnunes5662 3 года назад

    You’re doing great, dude! Been learning a lot in your channel. Thanks you for spreading knowledge.

  • @justian428
    @justian428 3 года назад

    Glad we're back to the C++ series and great introductory video. I'm eager to see the next ones now!!

  • @svenbtb
    @svenbtb 10 месяцев назад

    Thank you SO MUCH for making these Bitwise operations videos. I feel like every time I start feeling like I'm learning to program better, I see a snippet of code either in your code review series or something on StackExchange and there's Bit-Shift stuff happening everywhere and it's always made me feel so dumb and confused about what the point of using it was or when I'd need/want to use it. Thank you for making this!
    Also I had no idea that the windows calculator had a programmer mode, that rules

  • @ethanking123
    @ethanking123 2 года назад +2

    Oh man, please keep on doing this, I'd love to see more c++ series videos to come.

  • @AlejandroMFilz
    @AlejandroMFilz 3 года назад +4

    Hey, you still alive! :D
    I come from the OpenGL playlist, you're amazing teaching, thank you!!!

  • @petyavodolaz
    @petyavodolaz Год назад

    Thanks. Visualizing your explanation makes it much easier to understand.

  • @absorbingdude
    @absorbingdude 3 года назад +3

    Finally, I have just finished watching this playlist (at the moment there are only 96 episodes), God, in 2 weeks I watched almost 100 videos at 2x speed. It was during these 2 weeks that I learned a lot of new things, and once again I was convinced that C++ is impossible to learn, because it is replenished.
    Thanks a lot Cherno, you're an incredible person, I'll start watching the OpenGL learning playlist soon!
    Greetings from Russia!

  • @Resurr3ction
    @Resurr3ction 3 года назад

    The best explanation of bitwise operators and binary I have ever seen. Amazing.

  • @michaelnichxls
    @michaelnichxls 3 года назад

    I actually really needed this, thank you!

  • @toffeethedev
    @toffeethedev 3 года назад

    Awesome! I'm no beginner but I didn't know the compiler optimised power-of-two multiplications into bit shifts. Something for everyone in these videos, glad you're returning to it!

  • @orels1_
    @orels1_ 3 года назад

    Love the drawings. Feels a lot like watching Freya Holmers’s stream / tutorial - very visual and easy to understand

  • @dimasveliz6745
    @dimasveliz6745 3 года назад +5

    I'm very happy to see how the RUclips and Twitter pools were effective!!! Thanks for listening us! Wishing you a successful NEW period and many more views!

  • @jonteguy
    @jonteguy 3 года назад +4

    You have no idea how happy I am that you are continuing this.
    You are by far the easiest person to follow along regarding CPP teachings.
    I've done courses on Udemy by professionals since you stopped uploading to this series and none of them are as easy to follow along as you are. That being said I still learned a lot from them. But some of the technical stuff, regarding memory and stuff you are the easiest. I think because you go into Assembly sometimes and show the backbone.
    It does a lot to help people *actually understand* what's going on.
    "Any fool can know, the point is to understand" - Einstein

  • @mikaelkabraelian8518
    @mikaelkabraelian8518 3 года назад

    You actually saved my life multiple times, you explain things so well

  • @athanasiosterzakis128
    @athanasiosterzakis128 3 года назад

    Glad to see another video from this amazing series that kick-started my C++ career.

  • @LS-cb7lg
    @LS-cb7lg 3 года назад +2

    hey, i love that the series continues! can you make a video about testing? i think this is a very important subject that the playlist has not yet covered... thank you so much, love your video(s) :)))

  • @Dannnneh
    @Dannnneh 3 года назад +7

    Awesome, the board writings are definitely helpful.

  • @marcelgonzalez1376
    @marcelgonzalez1376 3 года назад

    I loved the extra information (sidetracked) in this video. I think it added useful additional content. Thanks.

  • @redenvalerio601
    @redenvalerio601 3 года назад +1

    I love you man! I learned so much from you! Thankyou!

  • @Khaliszt
    @Khaliszt 3 года назад

    Thanks for the whole information. It was very helpful!! Including all the introduction

  • @brucesmith9144
    @brucesmith9144 3 года назад +2

    One thing I like about C/C++ is the bit-fiddling capabilities. Used these operators for many years for filtering and and analyzing electronic measurement data. Eg: lends itself nicely to things like 2’s complement conversion and arithmetic operations of binary data.

  • @Narinerd
    @Narinerd 2 года назад

    Thank you for the in depth explanation! These make way more sense to me now.

  • @murtazahussain6301
    @murtazahussain6301 3 года назад

    You are amazing

  • @DibsOnMe
    @DibsOnMe 3 года назад

    Amazing video, thanks Cherno!

  • @inspte1096
    @inspte1096 3 года назад

    Thanks for coming back mate! These are the best coding tutorials on the internet.

  • @georgichelenkov4360
    @georgichelenkov4360 3 года назад

    Great Video! Thank you Cherno. Looking forward to your other videos.

  • @pako_powr
    @pako_powr 3 года назад

    really like the blackboard style explanation, good video

  • @K1zma
    @K1zma Год назад

    That bit shift explanation was amazing, I thought the doubling and halving were coincidental until this video. Thank you!

  • @chanabasayyasindagimath9516
    @chanabasayyasindagimath9516 3 года назад

    Beautiful explaination... Thanks to Teacher Sir...

  • @mohammedtirichine1934
    @mohammedtirichine1934 3 года назад +4

    Soo happy to see your video notification on my panel again
    It's been a while

  • @j.r.waheed4610
    @j.r.waheed4610 2 года назад

    Well done explanation. Thank you.

  • @nicklesseos
    @nicklesseos 3 года назад

    Just found your channel from trying to learn this please continue this mini series

  • @kltechhub
    @kltechhub 3 года назад

    Awesome! Been waiting a long time for a video on binary operators 😁

  • @mohammadalaaelghamry8010
    @mohammadalaaelghamry8010 11 месяцев назад

    Great content as usual, thank you.

  • @RickTrajan
    @RickTrajan 3 года назад

    Can't wait for new videos about the topic!

  • @tbswerve2497
    @tbswerve2497 3 года назад

    holy shit cherno this is awesome, thank. I understood the binary thing like magic. Thank you so much

  • @manuelpagliuca
    @manuelpagliuca 3 года назад +4

    Really good, can't wait for the next video, you should do more with "Compiler Explorer" and what about an assembly playlist ?

  • @slimshadylady9124
    @slimshadylady9124 3 года назад

    looking forward to seeing the series continue

  • @thethinman4552
    @thethinman4552 3 года назад +3

    thank you !!
    Next -> Modules and Concepts

  • @starc0w
    @starc0w 3 года назад

    Wow! Great! Thank you Cherno!

  • @War4est
    @War4est 3 года назад

    Hey Cherno, thank you for your videos !
    I think drawing tablet - is a cool thing, which definitely adds an abstraction level when you explain difficult things and makes it easier to understand. Also, you could use different colors for drawing :)

  • @user-oq5je6be5s
    @user-oq5je6be5s 3 года назад

    Great work as always, thanks The Cherno! I love the style you teach. It is educational, valuable and fun at the same time!
    Could you please make a video about "c++ lock-free programming (specifically, std::atomic)"? I found it is difficult to understand and use that. And I think it is a great topic.

  • @syth-1
    @syth-1 3 года назад

    Just came across what bitwise operator was yesterday and now the Cherno explanation - heck Ye!

  • @user-sl6gn1ss8p
    @user-sl6gn1ss8p 3 года назад +4

    14:06 laughs in fast inverse square root madness

  • @muddtheboss415
    @muddtheboss415 3 года назад

    Just when I have an assignment on the topic. Thanks Cherno

  • @nahuelarjona
    @nahuelarjona 3 года назад +2

    Hell yeah!!! It's been 84 years... but definitely worth the wait 🙌

  • @unsafecast3636
    @unsafecast3636 3 года назад

    How does it feel to be one of the best C++ resources out there?
    Keep it up! The quality of the videos is just getting better and better!

  • @IbrahimGaber-de5yk
    @IbrahimGaber-de5yk 6 месяцев назад

    great explanation, thank you.

  • @jokerpb4778
    @jokerpb4778 3 года назад

    Really helpful video especially while I'm dealing with Huffman coding stuff

  • @gualdim
    @gualdim 3 года назад

    Thank you man, your explanations are rock solid. +1000 didactic for the use of a pen tablet

  • @GoatTwinkie
    @GoatTwinkie 3 года назад

    This vid has so much good information!!

  • @EminTuralic
    @EminTuralic 3 года назад +4

    A c++ video woo

  • @hallowedbythyframe
    @hallowedbythyframe 3 года назад

    These are incredibly helpful

  • @TrueElucidater
    @TrueElucidater 3 года назад

    Great thanks to you for the series

  • @crystalflank
    @crystalflank 3 года назад

    Without going into details . . . . . capacitors . . . . . binary . . . . . endianness . . . . . hexadecimal . . . .
    i love this series

  • @krishangopal1803
    @krishangopal1803 3 года назад

    Nice to see you after a long time😀😀😀

  • @jayavamsikrishnamnaiduallu4358
    @jayavamsikrishnamnaiduallu4358 3 года назад +4

    You took our advice. Thanks. Now I am 😊 🤗

  • @erwinschrodinger2320
    @erwinschrodinger2320 3 года назад

    Great! Can’t wait to see more!

  • @pastasawce
    @pastasawce 3 года назад

    Thanks dude, keep it up.

  • @AnastasiiaNovik
    @AnastasiiaNovik 3 года назад

    О слава богам ты вернулся! твои видео напрямую влияют на всю индустрию разработки на с/с++ :D

  • @billynugget7102
    @billynugget7102 3 года назад

    The whole drawing thing is beast 👌

  • @stephen9849
    @stephen9849 3 года назад +1

    Yes!! This c++ series it the best on youtube!

  • @tablatronix
    @tablatronix 3 года назад

    Good mention of shifting signed ints, since this is implementation defined it can be undefined or unpredictable and a gotcha for newbs.

  • @VasaMusic438
    @VasaMusic438 3 года назад

    Finally C++ Series !!!! Thank!!!

  • @gustavocompagnoli8565
    @gustavocompagnoli8565 3 года назад

    It’s a pleasure to see again. Welcome back

  • @MBdz557
    @MBdz557 3 года назад +2

    Best c++ course ever!!!

  • @CViniciusSDias
    @CViniciusSDias 3 года назад

    Yaaaay
    You're back.
    I love learning C++ but I'm not a fan of game development, so this series is great for me.

  • @aliksargsyan2782
    @aliksargsyan2782 4 месяца назад

    This is very useful when someone wants to program CPU, MEMORY stuff like that

  • @TheCarmacon
    @TheCarmacon 3 года назад

    Just wanted to say Thank You for recommending the book "Code Complete" a while a ago - absolutely fantastic and underrated book. Should be much more popular than Clean Code.

  • @joserobjr7010
    @joserobjr7010 3 года назад

    Really cool video!

  • @jgurtz
    @jgurtz 3 года назад

    Yay! Some of the new c++17 and 20 stuff is pretty cool. A lot of stuff being done in templating

  • @kenny-kvibe
    @kenny-kvibe 2 года назад

    That coffee ending, mmmm.
    Great video, I'm a complete noob at C++, but so far I love it.

  • @-primitive-1035
    @-primitive-1035 Год назад

    great job bro! really beautiful explanation and very useful :)

  • @NogCube
    @NogCube 3 года назад

    Great one! ✌

  • @Ryze107
    @Ryze107 3 года назад

    Great video, Yan. Could you please explain, how >> and