|
From: Kevin W. <ke...@me...> - 2001-11-21 22:33:22
|
cprintf is declared in conio.h for Win32 console programs (non-Ansi, non-Unix) Usually outputs direct to video memory. Unlike fprintf and printf, cprintf does not translate linefeed characters (\n) into carriage-return/linefeed character pairs (\r\n). Tab characters (specified by \t) are not expanded into spaces. (This information is from Borland help files.) Kev. ----- Original Message ----- From: <mi...@ju...> To: <dev...@li...> Sent: Tuesday, November 20, 2001 8:36 PM Subject: [Dev-C++] cout vs cprintf > What's the dif? I'm making a program in AP Computer Science and for some > reason we used cprintf in it. My "fantatstic" teacher never explained > why. What gives? Is it a holdover from C? |