Off Topic > Off Topic

Programming Megathread

Pages: << < (84/241) > >>

SetGaming:


--- Quote from: Nickelob Ultra on February 02, 2016, 12:48:42 AM ---Anyone have any books they recommend for C and/or C#?  Preferably on Amazon kindle unlimited but open to suggestions, looking to read moar.

--- End quote ---

anything by tony gaddis

this man is a lord

BluetoothBoy:

I'm bored, I need someone to give me a (quick) programming challenge in Python or C++ that doesn't use external libraries.

Foxscotch:


--- Quote from: BluetoothBoy on February 03, 2016, 07:09:55 PM ---I'm bored, I need someone to give me a (quick) programming challenge in Python or C++ that doesn't use external libraries.

--- End quote ---
make something that can convert back and forth between RGB tuples and CSS hex codes
like (244, 55, 66) and #F43742

BluetoothBoy:


--- Quote from: Foxscotch on February 03, 2016, 07:18:55 PM ---make something that can convert back and forth between RGB tuples and CSS hex codes
like (244, 55, 66) and #F43742

--- End quote ---
:o Sounds neat.

$trinick:


--- Quote from: Foxscotch on February 03, 2016, 07:18:55 PM ---make something that can convert back and forth between RGB tuples and CSS hex codes
like (244, 55, 66) and #F43742

--- End quote ---

printf("#%x", (0x10000*red) | (0x100*green) | blue);

printf("(%d, %d, %d)", (rgb & 0xFF0000)>>16, (rgb & 0x00FF00)>>8, rgb & 0x0000FF);

Pages: << < (84/241) > >>

Go to full version