delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/09/23/16:29:28

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Date: Tue, 23 Sep 2003 16:28:49 -0400
Message-Id: <200309232028.h8NKSnBc015962@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <91509768.0112031721.1481a4ee@posting.google.com>
(person0000000000 AT yahoo DOT com)
Subject: Re: More than one letter input
References: <91509768 DOT 0112031721 DOT 1481a4ee AT posting DOT google DOT com>
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

>    char name;

You asked it to input a character, it input a character.
Try asking for an array of characters:

    char name[80];

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019