|
From: David N. <dne...@mi...> - 2001-11-20 21:27:00
|
printf() is a powerful function and allows you to output variables in = (nonstandard) ways. Dumping the hex value of a pointer, hex values of = ints, longs, etc., all without requiring casts. Lot's of rope to hang = yourself with. ----- Original Message -----=20 From: Daniel Glenfield=20 To: dev...@li...=20 Sent: Tuesday, November 20, 2001 3:52 PM Subject: Re: [Dev-C++] cout vs cprintf yeah C uses printf in funny ways, C++ uses cout (if you have the = iostream.h header included). I never got used to printf and all that. Weird. >From: mi...@ju...=20 >To: dev...@li...=20 >Subject: [Dev-C++] cout vs cprintf=20 >Date: Tue, 20 Nov 2001 15:36:00 -0500=20 >=20 >What's the dif? I'm making a program in AP Computer Science and for = some=20 >reason we used cprintf in it. My "fantatstic" teacher never explained = >why. What gives? Is it a holdover from C?=20 -------------------------------------------------------------------------= ----- Get your FREE download of MSN Explorer at http://explorer.msn.com _______________________________________________ Dev-cpp-users mailing = list Dev...@li... = https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |