Horje
c++ print byte as bit Code Example
c++ print byte as bit
#include <bitset>
...

char a = -58;    
std::bitset<8> x(a);
std::cout << x << '\n';

short c = -315;
std::bitset<16> y(c);
std::cout << y << '\n';




Cpp

Related
initialize 2d array c++ memset Code Example initialize 2d array c++ memset Code Example
c++ code for quicksort Code Example c++ code for quicksort Code Example
how to hide the c++ console Code Example how to hide the c++ console Code Example
sony pictures animation films produced Code Example sony pictures animation films produced Code Example
c++ vector iterator Code Example c++ vector iterator Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8