Need to learn C, best books?

Adrian Howard adrianh at quietstars.com
Thu Oct 25 14:46:24 BST 2007


On 25 Oct 2007, at 14:18, Andy Wardley wrote:

> David Cantrell wrote:
>>   size_t sl = strlen(somestring); /* we'll use this value later  
>> for ...
>                                      * telling us how long  
> somestring is
>                                      */
>
> :-)

Or even - gods forbid

	size_t somestring_length = strlen(somestring);

or

	size_t max_buffer_length = strlen(somestring);

<mutter>intention revealing code and all that</mutter>

Adrian


More information about the london.pm mailing list