nntp2http.com
Posting
Suche
Optionen
Hilfe & Kontakt

main mit drei Parametern?

Von: Robert Hartmann (robert_hartmann@gmx.net) [Profil]
Datum: 07.10.2009 16:27
Message-ID: <4ACCA544.4080703@gmx.net>
Newsgroup: de.comp.lang.c
Hallo zusammen,

Ich hab mal in http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
gestöbert und bin darauf gestoßen:


-Wmain
Warn if the type of `main' is suspicious. `main' should be a
function with external linkage, returning int, taking either zero
arguments, two, or three arguments of appropriate types.


Habt Ihr ein sinnvolles Beispiel
für eine main mit drei Argumenten?

Gruß Robert

[ Auf dieses Posting antworten ]

Antworten