LXF 154 Coding Concepts

Comments, suggestions and questions about Linux Format magazine and the coverdiscs

Moderators: ChrisThornett, LXF moderators

LXF 154 Coding Concepts

Postby Bruno » Sun Jan 22, 2012 2:40 pm

Hi, I think there is an error here, unless I'm mistaken. Page 106, near the end of the 6th paragraph:
... and that should be increased by one with every iteration of the loop.
I think that should that read decreased rather than increased. The code gets it right by using the decrement operator, though.

PS I'm really enjoying this section, it's a nice, bite-sized nugget of programming know-how each month.
User avatar
Bruno
LXF regular
 
Posts: 139
Joined: Tue Sep 18, 2007 6:07 pm
Location: Cambridgeshire, UK

Return to Magazine and coverdiscs

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest