>> lack of comments in the code > > +1, I think it's horrifying. void the_function_that_adds_one_to_i(int i) { /* this adds one to i */ i = i + 1; /* this returns i to the caller */ return i; } Horrifying, yes :) Mike