delorie.com/archives/browse.cgi | search |
X-ROUTED: | Sat, 10 Jun 2000 12:18:54 -0500 |
From: | "nebo" <nebo AT linetap DOT com> |
To: | <djgpp AT delorie DOT com> |
Subject: | Re: I'm having some problems when using the special parameters for main() |
Date: | Thu, 6 Oct 1994 12:24:42 -0400 |
X-MSMail-Priority: | Normal |
X-Priority: | 3 |
X-Mailer: | Microsoft Internet Mail 4.70.1155 |
MIME-Version: | 1.0 |
Message-ID: | <TCPSMTP_GEN.4230.15360@LT.linetap.com> |
Reply-To: | djgpp AT delorie DOT com |
> --------------------------------------------------------------------------- > cmdline.cpp: In function `int main(int, char **)': > cmdline.cpp:11: invalid types `int[int]' for array subscript > int main(int argc,char **argv) Try int main(int argc, char *argv[])
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |