diff options
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; +} + |