diff options
author | Patrick Simianer <p@simianer.de> | 2014-06-14 16:46:27 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2014-06-14 16:46:27 +0200 |
commit | 26c490f404731d053a6205719b6246502c07b449 (patch) | |
tree | 3aa721098f1251dfbf2249ecd2736434c13b1d48 /ccc/to_hex.cc |
init
Diffstat (limited to 'ccc/to_hex.cc')
-rw-r--r-- | ccc/to_hex.cc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ccc/to_hex.cc b/ccc/to_hex.cc new file mode 100644 index 0000000..6e577dc --- /dev/null +++ b/ccc/to_hex.cc @@ -0,0 +1,14 @@ +#include <iostream> + +using namespace std; + + +int main(void) +{ + int r = 116; + int g = 10; + int b = 10; + + cout << hex << r << " " << g << " " << b << endl; +} + |