You might want to have a look at Kernighan and Pike's 'The Practice of Programming'.
http://www.pearsonhighered.com/educator/product/Practice-of-Programming-The/9780201615869.page#takeacloserlook
.It. commented: Valued answer. +1
jonsca commented: Above and beyond the call of duty +6
vijayan121 1,152 Posting Virtuoso
vijayan121 1,152 Posting Virtuoso
vijayan121 1,152 Posting Virtuoso
vijayan121 1,152 Posting Virtuoso
vijayan121 1,152 Posting Virtuoso
lytnus commented: Thanks for your help and example code :) +0
Ancient Dragon commented: Perfect solution :) +33
vijayan121 1,152 Posting Virtuoso
cwarn23 commented: Very good info in great detail +5
vijayan121 1,152 Posting Virtuoso
mike_2000_17 commented: very nice! +1
Ancient Dragon commented: good advice :) +31
vijayan121 1,152 Posting Virtuoso
vijayan121 1,152 Posting Virtuoso
vijayan121 1,152 Posting Virtuoso