www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/23/09:15:10

From: "Daryl Zero" <Wobbler AT greenvillenc DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: I'm so new it's frustrating. Almost ready to lose my will to learn.
Lines: 31
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
Message-ID: <1rbw3.17368$x04.1147413@typ11.nn.bcandid.com>
NNTP-Posting-Host: 208.25.245.143
X-Trace: typ11.nn.bcandid.com 935412541 208.25.245.143 (Mon, 23 Aug 1999 08:49:01 EDT)
NNTP-Posting-Date: Mon, 23 Aug 1999 08:49:01 EDT
Date: Mon, 23 Aug 1999 08:40:32 -0400
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

  I am very knew to programming but I want to learn although it is been
frustrating. First there was the issue of finding a compiler. (I still
remember learning that you needed a program in order to wright a program)
Which was free because I am a cheap ass. Boo. I found Djgpp. Yeah!. I
downloaded a huge amount of zip files  and read that I had to make a change
to the autoexecbat file which scared me. Boo, Hiss! I got over my fear and
installed it and Now I have a compiler. YEAH! However *Ahwww* I am trying to
learn from a book called c for dummies. I have done about three programs
that did allright but these are the simpleist of them. The more complicated
ones (By newbie standards) get error's. Here is an example of one that gets
error's

#include <stdio.h>

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.

I realise I am an idiot but if you could help me anyway and help me
understand what is going on it would be greatly appreciated.


- Raw text -


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