This project focuses on bit manipulation in C. It covers how to use bitwise operators to manipulate data at the bit level, how to perform common bitwise operations, and how to apply these concepts to solve problems effectively. The project aims to provide a deep understanding of these fundamental concepts in C programming.
- How to use bitwise operators.
- How to manipulate bits and use bitwise operators.
- How to use bitwise operations to solve problems.
Task Name | File | Description |
---|---|---|
Convert Binary to Unsigned Int | 0-binary_to_uint.c | Writes a function that converts a binary number to an unsigned int. |
Print Binary | 1-print_binary.c | Writes a function that prints the binary representation of a number. |
Get Bit | 2-get_bit.c | Writes a function that returns the value of a bit at a given index. |
Set Bit | 3-set_bit.c | Writes a function that sets the value of a bit to 1 at a given index. |
Clear Bit | 4-clear_bit.c | Writes a function that sets the value of a bit to 0 at a given index. |
Flip Bits | 5-flip_bits.c | Writes a function that returns the number of bits you would need to flip to get from one number to another. |
Check Endianness | 100-get_endianness.c | Writes a function that checks the endianness. |
Crackme3 Password | 101-password | Creates a file that contains the password for the crackme3 executable. |