Re: [CODE] Two lines trying to define a character

From: George (greerga@CIRCLEMUD.ORG)
Date: 12/17/97


On Wed, 17 Dec 1997, Chuck Reed wrote:

>->   char blah = "stupid man";
           ^ - Add * here.
>->   char blah = "stupid man 2";
           ^ - Add * here.

You've defined them as a single character, you need to make them a pointer
(*) to a character (which will make it a string up to the NUL character)

--
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