www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/23/18:44:35

From: "Antonio Arranz" <alames AT teleline DOT es>
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 15:40:44 +0200
Organization: Telefonica Transmision de Datos
Lines: 24
Message-ID: <7ps6sr$bbm$1@talia.mad.ttd.net>
References: <1rbw3.17368$x04 DOT 1147413 AT typ11 DOT nn DOT bcandid DOT com>
NNTP-Posting-Host: 195.235.64.186
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
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Try this:

 #include <stdio.h>

 void main()
 {
       char me[20];

      printf("What is your name?")
      scanf("%s",&me);
      printf("darn glad to meet you, %s!\n",me);
 }

> 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.
You're not an idiot, just the error was typing!
(But this is my advice: unless you have more experience, try 1) another
compiler (Borland, Microsoft) and remember, C is a quite hard language to
start with. I just followed the usual path: Basic-Pascal-C !!!!
;-)
alames AT teleline DOT es



- Raw text -


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