delorie.com/archives/browse.cgi | search |
Date: | Sun, 4 Aug 1996 16:43:34 +0400 (MSD) |
From: | "Alexander V. Lukyanov" <lav AT video DOT yars DOT free DOT net> |
Message-Id: | <199608041243.QAA02617@video.yars.free.net> |
To: | Giva AT bbb DOT no, djgpp AT delorie DOT com |
Cc: | gv AT nera DOT no |
Subject: | Re: Compile Errors |
> >> int main( int argc, char **argv, char **environment ) > > Shouldn't that be: > > int main( int argc, char **argv, int envc, char **environment) > ^^^ > This is how HighC and MSVC defines it. Another reason not to use non-standard features and that particular one. The first form comes from Borland and is correct in Borland C. Although it can be used in djgpp too, don't use it! Use getenv instead.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |