Тёмный
No video :(

Intro to Binary and Bitwise Operators in C++ 

The Cherno
Подписаться 653 тыс.
Просмотров 132 тыс.
50% 1

The first 1000 people to use the link will get a free trial of Skillshare Premium Membership: skl.sh/thecher...
Patreon ► / thecherno
Instagram ► / thecherno
Twitter ► / thecherno
Discord ► thecherno.com/...
Series Playlist ► thecherno.com/cpp
This video is sponsored by Skillshare.

Опубликовано:

 

4 мар 2021

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 326   
@TheCherno
@TheCherno 3 года назад
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 года назад
Holy cow!!! We got a c++ video, after centuries!!
@CreativeSteve69
@CreativeSteve69 3 года назад
Yay glad to see the c++ series making a comeback cherno.
@267praveen
@267praveen 3 года назад
Topics suggestions 1. Variadic templates 2. Regex 3. Memory model in C++ 4. Perfect forwarding 5. SFINAE
@patrickwildschut5750
@patrickwildschut5750 3 года назад
Yea I’d love a regex video
@Bruhger
@Bruhger 3 года назад
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.
@ojussinghal2501
@ojussinghal2501 3 года назад
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.
@pepepotamo4819
@pepepotamo4819 3 года назад
I'm about to finish the C++ series and now this DLC!
@sadhlife
@sadhlife 3 года назад
free DLC is always appreciated
@playonce4186
@playonce4186 3 года назад
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
@igorsemenov7224
@igorsemenov7224 3 года назад
At last! Thank you, I learned a lot from your c++ series and now it's back, I'm so glad!
@kuroakevizago
@kuroakevizago 3 года назад
Cherno 2021 : "Compiler is smart, smarter than you probably" Somehow I feel that Compiler really is smarter than me XD
@stepanhrbek8151
@stepanhrbek8151 3 года назад
Oh yes, bitwise operators, thanks!
@slavago1266
@slavago1266 3 года назад
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!
@kimberlymutanga1068
@kimberlymutanga1068 3 года назад
Dude your work is amazing you explain this stuff in a fun and cool way I apreciate your work broo Thank you so much
@matthewpapesh
@matthewpapesh Год назад
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!
@dimasveliz6745
@dimasveliz6745 3 года назад
I'm very happy to see how the RU-vid and Twitter pools were effective!!! Thanks for listening us! Wishing you a successful NEW period and many more views!
@thechubbypanda
@thechubbypanda 3 года назад
The thumbnail is staring into my soul
@stefmijs8238
@stefmijs8238 3 года назад
Thank you for continuing the c++ series. So far the c++ series have helped me with my study and work. Greets from the Netherlands.
@universecreator988
@universecreator988 3 года назад
This is by far the most comprehensive introduction to bitwise operators I have ever seen. Really good content
@absorbingdude
@absorbingdude 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!
@jonteguy
@jonteguy 3 года назад
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
@aliksargsyan2782
@aliksargsyan2782 7 месяцев назад
This is very useful when someone wants to program CPU, MEMORY stuff like that
@AlejandroMFilz
@AlejandroMFilz 3 года назад
Hey, you still alive! :D I come from the OpenGL playlist, you're amazing teaching, thank you!!!
@imagination704
@imagination704 3 года назад
Omg yes!!!!!!!!!!!!!! Low level!!!! OmG!!!!
@mayushkumar1623
@mayushkumar1623 3 года назад
Prograsm
@ananttiwari1337
@ananttiwari1337 3 года назад
@@mayushkumar1623 very
@EminTuralic
@EminTuralic 3 года назад
A c++ video woo
@mohammedtirichine1934
@mohammedtirichine1934 3 года назад
Soo happy to see your video notification on my panel again It's been a while
@nahuelarjona
@nahuelarjona 3 года назад
Hell yeah!!! It's been 84 years... but definitely worth the wait 🙌
@zed_business519
@zed_business519 8 месяцев назад
bro you are amazing, you have just simplified the concept more than enough. thanks.
@brucesmith9144
@brucesmith9144 3 года назад
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.
@ethanking123
@ethanking123 2 года назад
Oh man, please keep on doing this, I'd love to see more c++ series videos to come.
@robertsedgewick1266
@robertsedgewick1266 3 года назад
Nice to see you back in this series! Great video as usual
@redenvalerio601
@redenvalerio601 3 года назад
I love you man! I learned so much from you! Thankyou!
@jayavamsikrishnamnaiduallu4358
@jayavamsikrishnamnaiduallu4358 3 года назад
You took our advice. Thanks. Now I am 😊 🤗
@kaustubhnarkhede5166
@kaustubhnarkhede5166 3 года назад
good to see you back! and also really loved the new style of explanation.. hope to see more like these!
@Dannnneh
@Dannnneh 3 года назад
Awesome, the board writings are definitely helpful.
@ThatHipsteCat
@ThatHipsteCat 3 года назад
Dropped it literally as soon as I needed it for my OS class. Thanks so helpful!
@svenbtb
@svenbtb Год назад
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
@thethinman4552
@thethinman4552 3 года назад
thank you !! Next -> Modules and Concepts
@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.
@user-sl6gn1ss8p
@user-sl6gn1ss8p 3 года назад
14:06 laughs in fast inverse square root madness
@syth-1
@syth-1 3 года назад
Just came across what bitwise operator was yesterday and now the Cherno explanation - heck Ye!
@__jan
@__jan 3 года назад
This is basically a university course at this point
@mockingbird3809
@mockingbird3809 3 года назад
and it is also 1000x better than a university course xD
@K1zma
@K1zma Год назад
That bit shift explanation was amazing, I thought the doubling and halving were coincidental until this video. Thank you!
@hamzamuhammadkhan
@hamzamuhammadkhan 3 года назад
FINALLLYYY THE CHERNO HAS COME BACKK
@tbswerve2497
@tbswerve2497 3 года назад
holy shit cherno this is awesome, thank. I understood the binary thing like magic. Thank you so much
@petyavodolaz
@petyavodolaz Год назад
Thanks. Visualizing your explanation makes it much easier to understand.
@justian428
@justian428 3 года назад
Glad we're back to the C++ series and great introductory video. I'm eager to see the next ones now!!
@Resurr3ction
@Resurr3ction 3 года назад
The best explanation of bitwise operators and binary I have ever seen. Amazing.
@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. ❤️
@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!
@pako_powr
@pako_powr 3 года назад
really like the blackboard style explanation, good video
@manuelpagliuca
@manuelpagliuca 3 года назад
Really good, can't wait for the next video, you should do more with "Compiler Explorer" and what about an assembly playlist ?
@inspite69
@inspite69 3 года назад
Thanks for coming back mate! These are the best coding tutorials on the internet.
@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.
@kenny-kvibe
@kenny-kvibe 2 года назад
That coffee ending, mmmm. Great video, I'm a complete noob at C++, but so far I love it.
@LS-cb7lg
@LS-cb7lg 3 года назад
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) :)))
@karbonk9333
@karbonk9333 3 года назад
the old Cherno is back
@athanasiosterzakis128
@athanasiosterzakis128 3 года назад
Glad to see another video from this amazing series that kick-started my C++ career.
@MBdz557
@MBdz557 3 года назад
Best c++ course ever!!!
@mazdakhng3013
@mazdakhng3013 3 года назад
so happy to see you back! never forget your precise & deep explanations of the topics
@godnyx117
@godnyx117 3 года назад
Welcome back king!
@eaglefg
@eaglefg 3 года назад
So the decimal system is base 10 and binary is base 2. Shifting left is essentially adding a zero to the right of the number, which is multiplying by the mathematical base. So in decimal adding a zero to the right is multiplying by 10 and in binary it's multiplying by 2. Same with shifting right being like removing a place from the right, or dividing by 10 in decimal and dividing by 2 in binary. Cool! I never knew this, but this makes things really clear. Thanks!
@xoeriphenburg4413
@xoeriphenburg4413 2 года назад
I absolutely love this series, and therefore this video, but I find it funny that I'm 14 out of 22 minutes in and you've barely spoken a word about any of the bitwise operators listed in the intro... I do appreciate the tangential conversation about word notation though, makes me feel good to have a clue what you're talking about. :P
@gustavocompagnoli8565
@gustavocompagnoli8565 3 года назад
It’s a pleasure to see again. Welcome back
@VasaMusic438
@VasaMusic438 3 года назад
Finally C++ Series !!!! Thank!!!
@marcelgonzalez1376
@marcelgonzalez1376 3 года назад
I loved the extra information (sidetracked) in this video. I think it added useful additional content. Thanks.
@RickTrajan
@RickTrajan 3 года назад
Can't wait for new videos about the topic!
@AyushSharma-ny8bm
@AyushSharma-ny8bm 3 года назад
The Cherno is back.. tall & strong😎!! Welcome back brother!🔥😊🤗
@bouthardmj661
@bouthardmj661 3 года назад
Oh yes!! right on time bro!
@mikaelkabraelian8518
@mikaelkabraelian8518 3 года назад
You actually saved my life multiple times, you explain things so well
@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😀😀😀
@eversonnunes5662
@eversonnunes5662 3 года назад
You’re doing great, dude! Been learning a lot in your channel. Thanks you for spreading knowledge.
@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!
@SandFoxling
@SandFoxling 3 года назад
Hisashiburi dane Cherno San!
@starc0w
@starc0w 3 года назад
Wow! Great! Thank you Cherno!
@stephen9849
@stephen9849 3 года назад
Yes!! This c++ series it the best on youtube!
@DibsOnMe
@DibsOnMe 3 года назад
Amazing video, thanks Cherno!
@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.
@Narinerd
@Narinerd 2 года назад
Thank you for the in depth explanation! These make way more sense to me now.
@kltechhub
@kltechhub 3 года назад
Awesome! Been waiting a long time for a video on binary operators 😁
@murtazahussain6301
@murtazahussain6301 3 года назад
You are amazing
@AnastasiiaNovik
@AnastasiiaNovik 3 года назад
О слава богам ты вернулся! твои видео напрямую влияют на всю индустрию разработки на с/с++ :D
@psychotrout
@psychotrout 3 года назад
Thank you for the comeback. I was hoping for a bit more meat this time but that was a bit confusing, if it was meant to be an absolute beginner intro (by even explaining the binary system) what is the point in showing the assembly version of the bit shifting operators when you assume that the viewer don't even know the meaning of that there was lot of sidetracking in 20 minutes. It would be nice to have an example of usage maybe in a real program and tell "the bitwise operators are x, y, z and why they exist? Here's an example". I know it is very time consuming to produce these videos but I really enjoyed the old ones and I would to continue watching informative videos from you. In any case thanks for your efforts.
@michaelnichxls
@michaelnichxls 3 года назад
I actually really needed this, thank you!
@Khaliszt
@Khaliszt 3 года назад
Thanks for the whole information. It was very helpful!! Including all the introduction
@ArtixTero
@ArtixTero Год назад
Great explanation! However, I think it's important to distinguish between binary value and binary representation in memory. What we have at 16:23 is (little-endian) representation. Say you have 255 and not 5, so 1111 1111 0000 0000 0000 0000 0000 0000. Now because it's representation, after bit-shifting the value by 1 to the left, you would have 1111 1110 0000 0001 0000 0000 0000 0000 in representation, which is correct, but it's not clear how the 16th bit became one. So for clarity, I believe it makes sense to demonstrate bit-shifts on the binary value: 0000 0000 0000 0000 0000 0000 1111 1111
@gualdim
@gualdim 3 года назад
Thank you man, your explanations are rock solid. +1000 didactic for the use of a pen tablet
@jgurtz
@jgurtz 3 года назад
Yay! Some of the new c++17 and 20 stuff is pretty cool. A lot of stuff being done in templating
@user-tu4kt2bw7h
@user-tu4kt2bw7h 3 года назад
Welcome back comrade!!!
@rasmadrak
@rasmadrak 3 года назад
Tried to watch this with automatic generated captions. Hilarious! :D (Great episode though! )
@georgichelenkov4360
@georgichelenkov4360 3 года назад
Great Video! Thank you Cherno. Looking forward to your other videos.
@khirullin2012
@khirullin2012 3 года назад
POGGERS
@mohammadalaaelghamry8010
@mohammadalaaelghamry8010 Год назад
Great content as usual, thank you.
@tutatis96
@tutatis96 3 года назад
Woooohoooo!!!
@ichizos9615
@ichizos9615 3 года назад
Cherno at 6:10: int a = *ś* Me: Wait... that's illegal, it won't work! Cherno: it's 5 Me: oh...
@muddtheboss415
@muddtheboss415 3 года назад
Just when I have an assignment on the topic. Thanks Cherno
@TheFinalCutBG
@TheFinalCutBG 3 года назад
We want at least one C++ episode per week! Great series!
@adilkumashev8964
@adilkumashev8964 3 года назад
Wow, you started the series about c++ ~4 years ago, and keep doing it
@kylefillingim9658
@kylefillingim9658 3 года назад
I used bitwise operations extensively in a checkers game. it was very convenient to represent the entire board with 3 ulong variables, and some quick bitwise operations to find all possible next moves. then using a min max algorithm and bam a computer that is difficult to beat, and doesn't take much memory or time to calculate it's victory.
@nicklesseos
@nicklesseos 3 года назад
Just found your channel from trying to learn this please continue this mini series
Далее
Bitwise AND (&), OR (|), XOR (^) and NOT (~) in C++
20:27
Harder Than It Seems? 5 Minute Timer in C++
20:10
Просмотров 165 тыс.
Будзек и рецепт🐝
00:25
Просмотров 109 тыс.
NOOOO 😂😂😂
00:14
Просмотров 13 млн
Global Variables in C++... not as easy as it seems
18:25
Conversion Operators in C++
19:56
Просмотров 37 тыс.
Bitwise Operators and WHY we use them
8:41
Просмотров 71 тыс.
WHY did this C++ code FAIL?
38:10
Просмотров 246 тыс.
Stack vs Heap Memory in C++
19:31
Просмотров 562 тыс.
The Importance of Scalable Code // Code Review
32:10
Просмотров 138 тыс.
SINGLETONS in C++
19:16
Просмотров 198 тыс.