Re: bitwise operators

Yes, there are many uses for them. For example, you can use bitwise operators to add, multiply, subtract, and divide numbers. This saves on CPU cycles, and it's an efficient way to represent data without using multiple integers. I should clarify that as the name suggests, bitwise operators operate on the level of bits (binary digits). So, building truth tables and practicing with 32-bit integers is always helpful in understanding how to manipulate data using this method. If you know what you're doing, you can use them to write simple conditionals involving numbers by eliminating checks altogether and self-evaluate for flags. These things are especially used in embedded systems in where you have a microcontroller with limited memory and you want to optimize performance and reduce footprint. If you study assembly languages, some of this might make more sense. I've worked on embedded systems before, and believe me, if you know how to use bitwise operators and other features of C (unions, bit structs, etc), you will be greatly valued.

-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
  • ... AudioGames . net Forum — Developers room : goran via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : goran via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : kaigoku via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : CAE_Jones via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : goran via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : leibylucw via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : goran via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : goran via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : kaigoku via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : kaigoku via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : goran via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : goran via Audiogames-reflector

Reply via email to