The bit shift operators in C

  Рет қаралды 23,366

CodeVault

CodeVault

Күн бұрын

Пікірлер: 25
@jacoposchwitter5151
@jacoposchwitter5151 Жыл бұрын
Better than my Uni's lecture
@hamzasiddiqui6645
@hamzasiddiqui6645 4 жыл бұрын
The best videos on C programming on youtube
@shvideo1
@shvideo1 3 жыл бұрын
Excellent video. Very clearly explained. Thank you for sharing.
@alleksandrs
@alleksandrs 4 жыл бұрын
Thanks for the video! Small correction for 4:18: twenty in binary, not hexadecimal.
@CodeVault
@CodeVault 4 жыл бұрын
Yep, good catch
@FraztheWizard
@FraztheWizard 2 жыл бұрын
Legend! Thankyou
@weihyac
@weihyac 3 жыл бұрын
thank you mate clear explanation
@silverwerewolf975
@silverwerewolf975 3 жыл бұрын
Very good video, thx!
@hamedelahi2249
@hamedelahi2249 3 жыл бұрын
Thank you so much. Can you tell me, in which situations should we use shifting? For example, multiplication, concatenation of bytes etc.
@CodeVault
@CodeVault 3 жыл бұрын
Usually when multiplying/dividing a number with a power of 2 or when you have to check specific bit values in a byte
@hamedelahi2249
@hamedelahi2249 3 жыл бұрын
@@CodeVault Thank you so much.
@Zahra-qb7nm
@Zahra-qb7nm 4 жыл бұрын
THANK YOU!
@osmiridium
@osmiridium 3 жыл бұрын
very helpful, thank you!
@ryandyc
@ryandyc 2 жыл бұрын
How would someone make a decimal shifter?
@CodeVault
@CodeVault 2 жыл бұрын
I'm guessing with the modulo operator by 10 and some division/multiplication. It shouldn't be too difficult
@shrimpfights17
@shrimpfights17 3 жыл бұрын
very helpful and clear
@GenadiJai
@GenadiJai 3 жыл бұрын
Thank you very much for your video, very informative! Only one question: if you declared unsigned int, why it becomes negative?
@GenadiJai
@GenadiJai 3 жыл бұрын
Oh, I got it, the peace of video, where you change unsigned int to int is missing
@agnichatian
@agnichatian 2 жыл бұрын
Can shift count be negative?
@CodeVault
@CodeVault 2 жыл бұрын
You can, but you do get a warning 2
@agnichatian
@agnichatian 2 жыл бұрын
@@CodeVault ill have to look into that warning; I could use that signed count (efficiency)
@cleightthejw2202
@cleightthejw2202 2 жыл бұрын
@codevault Sorry, guy, I don't know your name I am looking to know if you have made vides on the 1's and/or 2's complement(s)? I really do appreciate your 'deepness' on the videos you do. Most of the ones I have seen on programming don't do this And you're using actual programming on the screen 'live'. And I would say to you that if you think doing the same videos over time with another example or the same example extended, then do that that. :)
@CodeVault
@CodeVault 2 жыл бұрын
Thanks. No, I haven't yet, but it is on my TODO list! Thanks for the recommendation!
@cleightthejw2202
@cleightthejw2202 2 жыл бұрын
@@CodeVault You're welcome and thanks for the reply I'm waiting to see your new vids too
@mrgregorygerald
@mrgregorygerald 2 жыл бұрын
very helpful! thank you!
Bitwise operators in C
13:33
CodeVault
Рет қаралды 33 М.
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
Coding Challenge #120: Bit Shifting
17:52
The Coding Train
Рет қаралды 44 М.
What are variadic functions (va_list) in C?
13:49
CodeVault
Рет қаралды 26 М.
Bitwise Operators | C Programming Tutorial
12:19
Portfolio Courses
Рет қаралды 27 М.
Arenas, strings and Scuffed Templates in C
12:28
VoxelRifts
Рет қаралды 104 М.
Bitwise Operators and WHY we use them
8:41
Alex Hyett
Рет қаралды 100 М.
Fast Inverse Square Root - A Quake III Algorithm
20:08
Nemean
Рет қаралды 5 МЛН
you will never ask about pointers again after watching this video
8:03
How do I access a single bit?
11:07
Jacob Sorber
Рет қаралды 23 М.
Intro to Binary and Bitwise Operators in C++
21:40
The Cherno
Рет қаралды 140 М.
Bit Fields in C. What are they, and how do I use them?
13:26
Jacob Sorber
Рет қаралды 87 М.
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН