I have searched the documentation for a good while and not been able to find the answer to the above. since similar may come up again a link to the answer, may be more helpful than just the answer.
in advance, thanx,
Erik
So you did mean printf() and not sprintf()?
nope, I ment sprintf(), my rustiness made me think of printf() - it is all coming back :)
A useful online reference to the Standard 'C' library functions:
www.cplusplus.com/.../ (don't worry about the "plusplus" - it is the 'C' library)
And a useful online 'C' textbook:
publications.gbdirect.co.uk/.../
(don't worry about the "plusplus" - it is the 'C' library)
Have you noted that very few people are capable of writing 'C' any more, it automatically comes out as 'C++'
The last 3 places I have consulted have requested 'C++' although the code (current and added) was pure 'C'
Actually, for at least a decade now, what you typically get is talk about a non-existant language supposedly called "C/C++". I blame that on a whole slew of books that mashed the two together like that, both in the title and in the text.