deep understanding of OOP concepts and __CPUID macro. from a nerd:)
- __cpuid, __cpuidex
- djkaty / Il2CppInspector
- C++ Explained: Object initialization and assignment, lvalues and rvalues, copy and move semantics and the copy-and-swap idiom
- How to determine programmatically whether your application and OS are 32 or 64-bit
- Printing numbers in binary format in C++
- How to determine programmatically if your processor has hyperthreading, SIMD and other processing capabilities with __cpuid
- Tutorial: How To Fix WMI Corruption
- Visual Studio 2012 – Day 1 Annoyances (with an emphasis on C++)
- C++ Class Hierarchies Crash Course: Derivation (“is-a”) vs Composition (“has-a”), and Is a Square a Rectangle?
- C++ Class Hierarchies Crash Course: Derivation (“is-a”) vs Composition (“has-a”), and Is a Square a Rectangle?
While a looping solution still has applicability in some other languages, there is a much more elegant way to do it in C++ that is often overlooked:
int v = 0x12345678;
std::cout << std::bitset<32>(v);
#include header file : bitset
No comments:
Post a Comment