Search:

Type: Posts; User: stustu92

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    1,350

    Thanks for that guys. I was originally looking...

    Thanks for that guys.

    I was originally looking at this code as a method of making password entry show '*'s on screen rather than the characters of the password, using the scanf function.

    Does...
  2. Replies
    4
    Views
    1,350

    Can't see errors, can you?

    Hi all,

    I've been looking at some code on planet source code that makes the characters entered as a password appear as '*'s.

    I've just tried compiling the code using MS VC++2003 and lots of...
  3. Replies
    6
    Views
    2,656

    Thanks Salem, I've got it sorted now. I had to...

    Thanks Salem,

    I've got it sorted now. I had to use %02x.



    b1 = ( input_val >> 24 ) & 0xFF; //Splitting the bytes
    b2 = ( input_val >> 16 ) & 0xFF;
    b3 = ( input_val >> 8 ) & 0xFF;
    b4 = (...
  4. Replies
    6
    Views
    2,656

    Hi Salem, I've had a play with bitwise ops and...

    Hi Salem,

    I've had a play with bitwise ops and i can do what you suggested to extract they bytes, but i can't put them back in the reverse order like i'm trying to do.

    I also have a problem in...
  5. Replies
    6
    Views
    2,656

    changing byte order of an unsigned long?

    Hi all, i'm a newbie to this forum so be gentle!

    I have a problem i've spent quite a bit of time tinkering with and can't seem to get anywhere.

    I'm trying to write code that takes an unsigned...
Results 1 to 5 of 5