On 01/03/2014 08:40 PM, Алексей Шилин wrote:
Looks like I was overly cautious about decrementing an unsigned...
size_t n = bytes_read;
while (n)
{
if (all_lines)
n -= n ? 1 : 0;// ...here.
else
As it is under `while (n)' statement, n is always true here, and
On 01/28/2014 12:54 PM, Niels Möller wrote:
For the od program, it would be nice with a flag to specify the
endianness for all types which are larger than a byte. Possible
alternatives could be big endian, little endian, native endian.
I agree this would be useful and easy enough to add.
I