[mythtv-users] Re: *completely OT* tuesday morning funny...

steve at nexusuk.org steve at nexusuk.org
Tue Mar 23 12:28:19 EST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 23 Mar 2004, Craig Tinson wrote:

> On Tue, 2004-03-23 at 15:25, Robert La Ferla wrote:
> > Very funny but the main function should be int main(int argc, const char 
> > *argv[]) ...
> > 
> > :-)
> 
> well.. am just a lowly VB programmer.. so I didn't spot that.. but hands
> up whose the smarty-pants!! *chuckles*

Actually, AFAIK 'int main(void)' is fine if you don't care about your 
command line parameters - ANSI C only requires that main() return an int 
(so 'void main(void)' isn't allowed).

- -- 

 - Steve                                             http://www.nexusuk.org/

     Servatis a periculum, servatis a maleficum - Whisper, Evanescence

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Public key available at http://www.nexusuk.org/pubkey.txt

iD8DBQFAYHO15zUOsIV3bqERAvrtAJ9AUWtLTvbc8EeSOcHNoTGF7pEUHQCff6Km
+pLiu1FQ42hpLiBYhTaYoFQ=
=EEJ8
-----END PGP SIGNATURE-----


More information about the mythtv-users mailing list