Horje
binary representation   c++ Code Example
binary representation c++
#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
how to string to integer in c++ Code Example how to string to integer in c++ Code Example
c++ initialize static variable Code Example c++ initialize static variable Code Example
on component begin overlap c++ Code Example on component begin overlap c++ Code Example
c++ reading string Code Example c++ reading string Code Example
volumeof a sphere Code Example volumeof a sphere Code Example

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