Basics of Bits and Bytes with C++: Operands and Manipulation

March 26, 2021

Manipulating Bits and Bytes

C++


Title: Wikipedia - Bitwise Operation
Wikipedia - Bitwise Operation
Description: Wikipedia's page on bitwise operations.


Title: Bitwise Operators in C/C++
GeeksforGeeks - Bitwise Operators
Description: The basics of bitwise operators and using them in C and C++ with some guidance on more involved usage.


Title: sizeof operator
cppreference - sizeof operator
Description: Definition of the sizeof operator used in C++ to find the size of an something in bytes.


Title: Bit Manipulation
By: Make School
Youtube - Tutorial #1
Description: Basic introduction to bit operators as well as how to use them together for simple manipulation.


Summary

These are several of the more encompassing sources I came across recently on the basics of working with bits and bytes, especially in C++. More directy memory management and bit manipulation is not something I come across often using C# in Unity, but it still seems good to understand as it does come up every now and then. Unity uses bit maps for instance with their layer masks, which reading these sources greatly helped me understand better. I am also starting to do more work in Unreal, which uses C++ as its primary language, where I feel like this type of work is done more often.

Comments

Popular posts from this blog

Online Multiplayer Networking Solution Tutorial Using Unity and Mirror - Tutorial by: Jason Weimann

Exporting FBX from Houdini with Color

Houdini Assignment - Fuse and Group