[OT] Visual C++ question

Jerry Feldman gaf at gaf.blu.org
Fri Feb 14 19:21:32 EST 2003


On 14 Feb 2003 15:56:15 -0500
kclark at CetaceanNetworks.com (Kevin D. Clark) wrote:

> 
>   /* author:  dan pop */
>   #include <stdio.h>  
BTW: For Derek, I just noticed that Dan Pop wrote this code. Dan goes
apoplectic whenever he sees void main.

BTW: 
int main()
int main(void)
int main(int argc, char **argv) 
Are all legal in C. Using void in the parameter list of a function is
illegal in C++. 

-- 
Jerry Feldman <gaf at blu.org>
Boston Linux and Unix user group
http://www.blu.org PGP key id:C5061EA9
PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.blu.org/pipermail/discuss/attachments/20030214/4cb4c2b5/attachment.sig>


More information about the Discuss mailing list