Aaron Stone wrote: > Based on your Python comments earlier, I'm assuming that you already > program quite a bit, but haven't used C much. My guess is that the only > confusing things are *, ** and &. For those, there's a really good cartoon > guide that explains them very visually, but I can't remember the name of > it :-[
The current question is not about those, but about optional arguments. I.e. I want to be able to define a function named foo(), so that it could be called both as foo(a,b) and as foo(a,b,c). I'm afraid this was added later than the K&R text was written. I'm nearly sure the feature is there; in fact somebody told me that one could even rewrite printf() in C, and that has a theoretically infinite number of optional arguments. The projected dbmail use is for adding features to db layer functions, while preservicg backwards compatibility. Yours, Mikhail Ramendik