--- In [email protected], Thomas Hruska <thru...@...> wrote:
> ...
> You are going to get a lot of flak for using gets(). 
> ...
> atoi() [...] is the easiest method

Just as gets() is the easiest (but worst) method. ;)

> or strtol() (much more portable).

More portable, no. More robust, yes.

-- 
Peter

Reply via email to