swarm-modeling
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Q: <stdlib.h> itoa()


From: Theodore C. Belding
Subject: Re: Q: <stdlib.h> itoa()
Date: Sun, 5 Dec 1999 07:33:07 -0500 (EST)

itoa isn't standard C and so may not be in your stdlib.h. You can find an
implementation of itoa in K&R.

Questions like this probably should go to swarm-support, not
swarm-modelling.
-Ted

--
Ted Belding                              address@hidden 
University of Michigan Center for the Study of Complex Systems
Homepage: http://www-personal.umich.edu/~streak/
PGP key:  http://www-personal.umich.edu/~streak/pgp-key.html

On Sat, 4 Dec 1999, Kevin S. Lim wrote:

> I'm trying to use the itoa() function to convert an integer value into a
> string.  I want to generate an output file for each agent and hence I want
> to concatenate [strcat()] a prefix name with the agent's id number, hence
> the conversion.
> 
> When I compile the code, I get an error message of an "implicit declaration
> of function 'itoa'".  From experience, this error/warning message means that
> an header file has not been called.  However, in my case, I've included the
> <stdlib.h> file, so I'm stumped yet again why this message pops up.
> 
> Any suggestions from anyone would be welcomed.
> 
> Cheers,
> - Kevin
> 
> Kevin S. Lim - B.Sc.(Env) - MES Candidate
> Department of Geography - University of Waterloo
> www.fes.uwaterloo.ca/u/klim  ICQ#52585289
> 
> 
> 
> 
>                   ==================================
>    Swarm-Modelling is for discussion of Simulation and Modelling techniques
>    esp. using Swarm.  For list administration needs (esp. [un]subscribing),
>    please send a message to <address@hidden> with "help" in the
>    body of the message.
>                   ==================================
> 



                  ==================================
   Swarm-Modelling is for discussion of Simulation and Modelling techniques
   esp. using Swarm.  For list administration needs (esp. [un]subscribing),
   please send a message to <address@hidden> with "help" in the
   body of the message.
                  ==================================


reply via email to

[Prev in Thread] Current Thread [Next in Thread]