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
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
- Joachim Schmitz (07.10.2009 16:46)
- Joachim Schmitz (07.10.2009 16:53)
- Robert Hartmann (08.10.2009 10:29)
- Stefan 'Wichtigtuer' Scholl (08.10.2009 13:02)
- Michael Karcher (08.10.2009 14:27)
- Juergen Ilse (07.10.2009 17:00)
