Mail Archives: cygwin/1997/11/11/19:48:15
On 10 Nov 97 at 21:11, Jon & Sue Trauntvein <jont AT tcsourceone DOT com> wrote:
> Greetings,
>
> I have been recently porting some code that I had originally written for Visual C++.
> In so doing, I have come accross some functions that I thought were a part of the ANSI C
> library but don't appear to be a part of the standard library distributed
> with the Cygnus compiler. These functions are strrev (reverse a
> "C" string in place) and itoa (convert a signed integer to an
> ASCII string). Is there something that I am doing wrong or are
> these functions truly missing?
Hi!
Neither strrev() nor itoa() are part of ANSI C, as far as my copy of Plauger &
Brodie's Standard C inform.
Both can be easily written in C. It is possible that the versions in the VC
library were written in optimized x86 assembly. But if you don't use them
very often, the performance lost is negligible.
Best regards,
++Hilton
----
Hilton Fernandes
hfernandes AT geocities DOT com
http://www.geocities.com/SiliconValley/Lakes/5657
URLs and help on C++ programming and Object-Oriented Design
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -