Search:

Type: Posts; User: dre

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    2,306

    Thanks. I read that yesterday and came up with...

    Thanks. I read that yesterday and came up with this little code. I'm trying to get it to read the binary of the char and then store either an int 1 or 0 into an array i'm calling hamming3 and...
  2. Replies
    6
    Views
    2,306

    Basically it's 8 bit ASCII value equivalent in...

    Basically it's 8 bit ASCII value equivalent in binary...

    'a' would be 01100001
  3. Replies
    6
    Views
    2,306

    User inputs two characters and...

    I would like for my program to be able to give the binary values of these characters. I would then like to be able to work with these binary equivalents and be able to find the hamming distance...
  4. Replies
    10
    Views
    6,117

    thank you guys.

    thank you guys.
  5. Replies
    10
    Views
    6,117

    how am I able to play around with the binary then...

    how am I able to play around with the binary then ?
  6. Replies
    10
    Views
    6,117

    ok im not going to pretend i know close to as...

    ok im not going to pretend i know close to as much as you do but here's what i thought was going on:

    with input1; input2; method i thought i'd first store the user input and then somehow convert...
  7. Replies
    10
    Views
    6,117

    ok i'll give it a shot. i think that with the...

    ok i'll give it a shot. i think that with the user input i'd have to start by defining say

    char input1;
    char input2;

    and then i'd use scanf to store the user's chars into these char variables...
  8. Replies
    10
    Views
    6,117

    convert a char to its binary equivalent?

    I'd like to have the user input any two characters and have the binary equivalent of those characters stored in an array.

    I believe I read somewhere that all characters do not have the same number...
  9. Replies
    8
    Views
    7,082

    Is the one's complement of a binary number just...

    Is the one's complement of a binary number just the bits flipped ? i.e 1 becomes 0 and 0 becomes 1?
  10. Replies
    8
    Views
    7,082

    the NOT operator? I don't follow..lol

    the NOT operator? I don't follow..lol
  11. Replies
    8
    Views
    7,082

    finding the one's complement of a binary number?

    i have an array of 1s and 0s to represent a binary number. i would like to be able to manipulate the array (or maybe create a new one if neccesary?) which will represent the one's complement of the...
  12. Replies
    17
    Views
    11,641

    so does anybody have some tips about my actual...

    so does anybody have some tips about my actual problem...does the logic look off to anyone or is everyone stumped about this like i am?
  13. Replies
    17
    Views
    11,641

    weird...im using VS2005 and it works fine for me

    weird...im using VS2005 and it works fine for me
  14. Replies
    17
    Views
    11,641

    Really? What are the errors? It's compiling and...

    Really? What are the errors? It's compiling and running fine for me.
  15. Replies
    17
    Views
    11,641

    exactly that, just playing around with the...

    exactly that, just playing around with the bits/bytes that were randomly allocated
  16. Replies
    17
    Views
    11,641

    Dynamically allocated array

    i've dynamically allocated an array of two bytes and begun playing around with the bits.
    what i've wanted to do is have the program count how many 1s and 0s are in the memory allocated and print out...
  17. Replies
    9
    Views
    3,015

    lol you guys are bullies...i know its easy to say...

    lol you guys are bullies...i know its easy to say it now, but when i first read that i had to do that i thought to myself the same thing, like whats the point of dynamically allocating a set amount...
  18. Replies
    9
    Views
    3,015

    Dynamically allocate an array of two bytes?

    I would like to be able to do this in order to do some manipulation with the two bytes eventually...can anybody show me how to do this?
  19. Replies
    2
    Views
    1,343

    hey dude that worked thanks

    hey dude that worked thanks
  20. Replies
    2
    Views
    1,343

    Dealing with decimal points

    I'm printing out a bunch of numbers with a for loop which makes up a table. Numbers such as 526.74 or 921.63 contribute to the alignment of the table since there are a total of 5 digits in the...
Results 1 to 20 of 20