-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Okay, I am working on a card playing program, and I am storing card values as hexadecimal digits. Here is the array:
public int[] originalCards = new int[54]
{
0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D,
0x21, 0x22, 0x23, 0x24, 0x25…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hey guys,
Just wondering on how I would go about converting binary to hexadecimal??
Would I first have to convert the binary to decimal and then to hexadecimal??
For example, 101101001.101110101010011
How would I go about converting a complex binary such as the above to hexadecimal?
Thanks in…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm using the SDL_net sockets API to create a server and client. I can easily read a string buffer, but when I try to send hexadecimal data, recv gets the length, but I cannot seem to be a able to read the buffer contents.
IPaddress ip;
TCPsocket server,client;
int bufSize = 1024;
char message[bufSize];
int…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi , i want to find the name of a colour from the hexadecimal colour code. When i get a hex colour code i want to find the most matching colour name. for example for the code #c06040 , how to find out if it is a shade of brown, blue or yellow ?. so that i can find the colour of an object in the image…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I've just about got the jPicker script working flawlessly in my app. However, the value it returns contains 8 digits. Example: 212ebcff
Is there a preset variable that forces jPicker to return a 6 digit hex value?
>>> More