Search:

Type: Posts; User: grumpy

Search: Search took 0.08 seconds.

  1. Replies
    10
    Views
    4,731

    I just described what sscanf() does with the %s...

    I just described what sscanf() does with the %s and %c format specifiers. It is not hard to replicate that behaviour. And sscanf() involves an overhead (interpreting the format string, etc) that...
  2. Replies
    10
    Views
    4,731

    Yeah. Eliminate the temp1 buffer and also the...

    Yeah. Eliminate the temp1 buffer and also the sscanf calls. Neither are necessary. Also eliminate the printf() call, except when debugging.

    When using sscanf, the %s format scans until it...
Results 1 to 2 of 2