Fw: [Dev-C++] First experience with Dev-C++
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Joshua T. <vap...@ms...> - 2002-01-21 18:04:46
|
=20 From: Joshua Thomas Sent: Monday, January 21, 2002 1:03 PM To: Kevin Wood Subject: Re: [Dev-C++] First experience with Dev-C++ I agree with you on making arguments in main function for storage array a= bad idea. I was presenting a working code that fixed what didn't work in= his. If you compile the code he sent it doesn't compile without errors. = Using printf() is still bad style. No reason to use it except because you= can:) Cout does the job with less junkie looking code... Joshua Thomas =20 ----- Original Message ----- From: Kevin Wood Sent: Monday, January 21, 2002 10:01 AM To: Dev...@li... Subject: Re: [Dev-C++] First experience with Dev-C++ =20 Sorry, Joshua, but your code is not correct. You should not declare variables / storage space in the argument list of a function. What do you intend to do with 1Mb of memory? You would not be able to access the command-line arguments. There's nothing wrong with printf - it is ANSI compatible. If being antiq= ue means it's considered bad style, then I'm WELL out of style (50 this year= !), but I still consider myself to be useful. Does no one use the console program template which comes with DEV C++ ? Kev. Get more from the Web. FREE MSN Explorer download : http://explorer.msn.c= omGet more from the Web. FREE MSN Explorer download : http://explorer.ms= n.com |