From 26c490f404731d053a6205719b6246502c07b449 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Sat, 14 Jun 2014 16:46:27 +0200 Subject: init --- ccc/to_hex.cc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 ccc/to_hex.cc (limited to 'ccc/to_hex.cc') 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 + +using namespace std; + + +int main(void) +{ + int r = 116; + int g = 10; + int b = 10; + + cout << hex << r << " " << g << " " << b << endl; +} + -- cgit v1.2.3