Re: [CODE]

From: George (greerga@DRAGON.HAM.MUOHIO.EDU)
Date: 11/17/97


On Mon, 17 Nov 1997, Chuck Reed wrote:

>What does this mean,
>
>argument is not a pointer (arg 9)

Exactly what it says.

Argument #9 in a variable argument list (printf, sscanf, sprintf, etc) is
expected to be a pointer (%s or %p usually) and the variable you gave it
isn't a pointer (%d, %c, %ld, %f, etc).  Note that when counting arguments,
GCC includes the "" format string as a number.

--
George Greer  -  Me@Null.net   | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/08/00 PST