From: Jari Oksanen Newsgroups: comp.os.msdos.djgpp Subject: Re: I'm so new it's frustrating. Almost ready to lose my will to learn. Date: Mon, 23 Aug 1999 16:17:41 +0300 Organization: Univ Helsinki Lines: 35 Message-ID: <37C149F5.FBD7FB63@helsinki.fi> References: <1rbw3.17368$x04 DOT 1147413 AT typ11 DOT nn DOT bcandid DOT com> NNTP-Posting-Host: khatkhat.ecology.helsinki.fi Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit X-Trace: oravannahka.helsinki.fi 935414028 5968 193.166.176.49 (23 Aug 1999 13:13:48 GMT) X-Complaints-To: usenet AT news DOT helsinki DOT fi NNTP-Posting-Date: 23 Aug 1999 13:13:48 GMT X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.0.36 i686) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Daryl Zero wrote: > > Boo, Hiss! YEAH! However *Ahwww* > > #include > > void main() > { > charm me[20]; > > printf("What is your name?") > scanf("%s",&me); > printf("darn glad to meet you, %s!\n,me); > } > > I get the error Error: unterminated string or charcter constant > Error: possible real start of unterminated constant > There were some error's. 5c5 < charm me[20]; --- > char me[20]; 7c7 < printf("What is your name?") --- > printf("What is your name?"); 9c9 < printf("darn glad to meet you, %s!\n,me); --- > printf("darn glad to meet you, %s!\n",me); Some people would change a couple of other places, too. -- J.Oksanen -- UHLA (University of Helsinki at Lahti)