Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
representing binary number in C
Name: WTK Date: September 11, 2002 at 23:03:52 Pacific OS: linux CPU/Ram: ??
Comment:
Hi,
well, in C we can initialize an int this way:
int dec = 10; int hex = 0xA;
but how to do this using binary number(representation), eg. int bin = 1010b; ???
Summary: Hi, I am trying to do a Binary Search for a 15 number array in C. I included the whole code but the only part I am seeking help with is the Binary Search part. When i look up a number in my, I can't...
Summary: Hi,I need some help in C: I have a double U between 0 and 1 and I need b0,b1,....,bt where U=(.b0b1b3....bt) is the binary representation of U. is there any command in C that allow to get them? Thank ...