From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 107f24,626a0a064b320310 X-Google-Attributes: gid107f24,public X-Google-Thread: 10259a,626a0a064b320310 X-Google-Attributes: gid10259a,public X-Google-Thread: 103376,ea8ea502d35ca2ce X-Google-Attributes: gid103376,public X-Google-Thread: 114809,626a0a064b320310 X-Google-Attributes: gid114809,public X-Google-Thread: f4fd2,626a0a064b320310 X-Google-Attributes: gidf4fd2,public X-Google-Thread: 103d24,626a0a064b320310 X-Google-Attributes: gid103d24,public X-Google-Thread: 1164ba,626a0a064b320310 X-Google-Attributes: gid1164ba,public X-Google-ArrivalTime: 2001-05-11 09:02:52 PST Path: archiver1.sj.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail From: Friedrich Dominicus Newsgroups: comp.lang.ada,comp.lang.lisp,comp.lang.smalltalk,comp.lang.basic,comp.lang.functional,comp.lang.scheme,comp.lang.perl Subject: Re: Beginner's Language? Followup-To: comp.lang.misc Date: 10 May 2001 19:04:24 +0200 Organization: Q Software Solutions GmbH Message-ID: <87k83pi19j.fsf@frown.here> References: <9cukad$nn68@news-dxb> <9d6b6e$1bt$1@nh.pace.co.uk> <87snihxiwc.fsf@frown.here> <9dbi83$sji$1@nh.pace.co.uk> <9deb6a$hdp$1@a1-hrz.uni-duisburg.de> <9deggj$httk3$1@ID-22205.news.dfncis.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.t-online.com 989514092 07 27409 g5H6SpsGbx-F1V 010510 17:01:32 X-Complaints-To: abuse@t-online.com X-Sender: 320004655587-0001@t-dialin.net User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Capitol Reef) Xref: archiver1.sj.google.com comp.lang.ada:7400 comp.lang.lisp:9861 comp.lang.smalltalk:9575 comp.lang.functional:5553 comp.lang.scheme:3724 comp.lang.perl:2655 Date: 2001-05-10T19:04:24+02:00 List-Id: Jochen Schmidt writes: > > #include > > int main (int argc, char** argv) { int main (void) should be enough here ;-) > int sum=0; > int foo=0; > int i=0; > for (;i<5;++i) { > scanf("%d", &foo); > sum=sum+foo; > } > printf("%d", sum); > } > > It is not clear to me that this could be easier to explain then the first > Lisp-variant. > > - What is #include > - What is > - What is int > - What is main > - What is argc unessary > - What is char** (!!!) dito > - What is argv dito Till then Friedrich