ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก

The bit shift operators in C

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 มิ.ย. 2019
  • Check out our Discord server: / discord

ความคิดเห็น • 25

  • @jacoposchwitter5151
    @jacoposchwitter5151 ปีที่แล้ว +3

    Better than my Uni's lecture

  • @hamzasiddiqui6645
    @hamzasiddiqui6645 3 ปีที่แล้ว +2

    The best videos on C programming on youtube

  • @shvideo1
    @shvideo1 2 ปีที่แล้ว +2

    Excellent video. Very clearly explained. Thank you for sharing.

  • @alleksandrs
    @alleksandrs 3 ปีที่แล้ว +7

    Thanks for the video! Small correction for 4:18: twenty in binary, not hexadecimal.

    • @CodeVault
      @CodeVault  3 ปีที่แล้ว +4

      Yep, good catch

  • @osmiridium
    @osmiridium 3 ปีที่แล้ว

    very helpful, thank you!

  • @weihyac
    @weihyac 2 ปีที่แล้ว

    thank you mate clear explanation

  • @silverwerewolf975
    @silverwerewolf975 3 ปีที่แล้ว

    Very good video, thx!

  • @Zahra-qb7nm
    @Zahra-qb7nm 3 ปีที่แล้ว

    THANK YOU!

  • @FraztheWizard
    @FraztheWizard 2 ปีที่แล้ว

    Legend! Thankyou

  • @shrimpfights1714
    @shrimpfights1714 3 ปีที่แล้ว

    very helpful and clear

  • @genadimanoilenko1466
    @genadimanoilenko1466 2 ปีที่แล้ว

    Thank you very much for your video, very informative! Only one question: if you declared unsigned int, why it becomes negative?

    • @genadimanoilenko1466
      @genadimanoilenko1466 2 ปีที่แล้ว

      Oh, I got it, the peace of video, where you change unsigned int to int is missing

  • @hamedelahi2249
    @hamedelahi2249 2 ปีที่แล้ว +1

    Thank you so much. Can you tell me, in which situations should we use shifting? For example, multiplication, concatenation of bytes etc.

    • @CodeVault
      @CodeVault  2 ปีที่แล้ว +2

      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 2 ปีที่แล้ว

      @@CodeVault Thank you so much.

  • @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 ปีที่แล้ว +1

      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

  • @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

  • @agnichatian
    @agnichatian 2 ปีที่แล้ว +1

    Can shift count be negative?

    • @CodeVault
      @CodeVault  2 ปีที่แล้ว +1

      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)

  • @mrgregorygerald
    @mrgregorygerald 2 ปีที่แล้ว

    very helpful! thank you!