🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: de.comp.lang.c++
Article #1763

Re: Parameteruebergabe in C++

#1763
From: Dietmar Kuehl
Date: Tue, 05 Mar 1996 16:48
17 lines
1119 bytes
Hi,
Stefan Lindmayer (lindmaye@braunschweig.netsurf.de) wrote:
: wie kann man in C++ Programmen die dem Programm uebergebenen Parameter
: auswerten ?

  int main(int ac, char *av[])
  {
    // ac == #Argumente (inklusive Programmname)
    // av == Argumente (av[0] ... av[ac - 1])
    //   per Konvention gilt: av[0] == Programmname. Allerdings nicht bei
    //   allen Operating Systems (das ist eine C Regel und C wurde fuer
    //   UNIX entwickelt und da ist das halt so).
  }
--
dietmar.kuehl@uni-konstanz.de
http://www.informatik.uni-konstanz.de/~kuehl
I am a realistic optimist - that's why I appear to be slightly pessimistic
Technical Details
Message-ID: <4hhr8g$2gk@news.BelWue.DE>
Path: arc1-ca.pugleaf.net!news.belwue.de!uzwil!kuehl
References: <4hg2b8$c7v@tpl-news.tpl.net>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.belwue.de!uzwil!kuehl
From: kuehl@uzwil.informatik.uni-konstanz.de (Dietmar Kuehl)
Newsgroups: de.comp.lang.c++
Subject: Re: Parameteruebergabe in C++
Date: 5 Mar 1996 16:48:16 GMT
Organization: Fakultät für Mathematik und Informatik
Message-ID: <4hhr8g$2gk@news.BelWue.DE>
References: <4hg2b8$c7v@tpl-news.tpl.net>
Reply-To: dietmar.kuehl@uni-konstanz.de
NNTP-Posting-Host: uzwil.informatik.uni-konstanz.de
X-Newsreader: TIN [version 1.2 PL2]