[Dev-C++] about "reentering code" [was: itoa - simple implementation]
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Luigi S. <gi...@li...> - 2003-04-03 07:21:18
|
Hello Per, I see that you have mentioned that an implementation of itoa which has the interface: void itoa(int n, char *s); would be "reentrant". This concept is not clear to me, I would appreciate if you could elaborate a little about it, for instance you could point out the weakness (or "reentrancy" problems) related to the interface char *itoa(int n); and how these would be solved adopting the 2 parameters - void returning - function. TIA -- >> gisan >> |