Last active
March 31, 2017 17:50
-
-
Save micklinISgood/5e9a3041e9e9dbece7e977d8e5cbd0fa to your computer and use it in GitHub Desktop.
parseChar
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<iostream> | |
using namespace std; | |
int main(){ | |
char c; | |
c |= 1<<2; | |
c |= 1<<5; | |
//010 0100 $ | |
/** | |
Binary Oct Dec Hex Glyph | |
010 0100 044 36 24 $ | |
**/ | |
cout << c; | |
cout << (short)c; | |
/* $36 */ | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment