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...
Type: Posts; User: grumpy
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...
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...