Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Wed, 30 Jul 2003 17:22:29 +0200 (MEST) From: Frank Wagner To: cygwin AT cygwin DOT com MIME-Version: 1.0 Subject: funktion itoa X-Priority: 3 (Normal) X-Authenticated-Sender: #0001321728 AT gmx DOT net X-Authenticated-IP: [195.145.204.2] Message-ID: <22824.1059578549@www13.gmx.net> X-Flags: 0001 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Hello, I need to convert a integer to a string and in this case I want to use the itoa funktion call. I found a description of this funktion that explains: char * itoa ( int value, char * buffer, int radix ); Wich is defined in stdlib.h. When I try to compile I get the follwing error: implicit declaration of function `int itoa(...)' My function call looks like: itoa(B->anzahl, menge, 10); When I look into stdlib.h will find the following line: int _EXFUN(atoi,(const char *__nptr)); Here it is defined with a int as return value. What is my description wrong and how must I use this funktion? Thanks a lot in advance Frank -- COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test -------------------------------------------------- 1. GMX TopMail - Platz 1 und Testsieger! 2. GMX ProMail - Platz 2 und Preis-Qualitätssieger! 3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/