On 07/05/2011 18:09, %u wrote:
In Patterns of Human Error, the slide 31 point that you should replce int with size_t why that consider an error ?
For those who aren't sure what this is on about: http://www.slideshare.net/dcacm/patterns-of-human-error But the short answer is because dim is a size_t, i needs to cover its range. But.... <= should be = ? Don't you mean < ? And the use of a meaningless type alias gets at me. Stewart.
