Added: 2 years ago
From: rax7
Views: 6,350
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (23)

Sign In or Sign Up now to post a comment!
  • int x = 193;

    int y = x ^ 0xf0;

    Y is: 49

  • Thank you very much.Pretty helpful as I'm interested in embedded C

  • May not use bitwise unless you're programming for embedded?

    Bullshit, you try making a SDL Window using double buffers and no boarders without using a bitwise OR (or any function using multiple flags at once for that matter)

  • Thank you so very much! Makes so much sense now! :) Thank you!

  • thanks very much!! great help - CS232 @ U of I

  • Thank you I really appreciated it.

  • Thanks a lot. This was really helpful.

  • great job now i can score more in tommorow test

  • Great tutorial...especially noting where and when these operations are used in the programming world. Embedded programming is where I want to go.

    Exclusive OR slide...seems y = 62 /* 0011 0001 */ should be 49? bit 6(32), bit 5(16) and bit 0(1)

  • these are used in exams on uni's :(

  • What if a variable's value cannot be held in a single byte?

    How then are the comparing bits lined up between the memory location of two variables when using these operators?

  • Wow, thanks for the tutorial. Currently learning Objective-C and helped cleared up a lot of things!

  • great tutorial xD

  • Comment removed

  • Thank you for this video. Clears away some of the fog.

  • Just wanted to say thanks. Your video did for me in 10 minutes what the book titled "Deitel & Deitels C How To Program" couldn't do in 20 pages.

  • Thank you, that really helped.

  • bear in mind you can also use bitwise ops in the following fashion.

    variable |= 10; // logical OR with 1010 (binary)

    variable ^= 10;

    variable >>= 2; //shift

    etc...

  • I use bitwise ops for emulation.

  • Very helpful, but some exampled would have been nice, simple things like altering letter case by changing the 6th bit...

  • thanks

  • I get it now! thanks a bunch

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more