Search:

Type: Posts; User: DougC

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    1,618

    Quick Conversion Question

    Hi:

    I have this function, converting the ASCII value in to a corresponding HEX and then doing a bitshift by 4. It does octal.


    iReturnValue = (iReturnValue <<= 4) | ( (cmd[I] % '0') - 7 *...
  2. Need a C Function to Convert a char string to int

    Hi all:

    I need a function to do the following. To take a char buffer of 14 octal bytes. These byes represent ASCII characters.

    Take the buffer and convert the last four bytes to an integer...
Results 1 to 2 of 2