|
From: Dr. D. J. K. <din...@ea...> - 2001-12-23 18:52:13
|
This is in Thread of Kevin Wood's cout vs cprintf. cout does not follow the effect of textcolor() function, nor even = textbackground(). However, one has to use cprintf() for the colored text = etc. Moreover it makes a difference in execution time (for the large = programs, one can experience it). cprintf is much faster than cout. Dinesh Karia. From: "Kevin Wood" <ke...@me...> To: <dev...@li...> Subject: Re: [Dev-C++] cout vs cprintf Date: Wed, 21 Nov 2001 22:32:26 -0000 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.) Interested in Topoligies? join: top...@ya... Interested in Topological Algebras? Join: = top...@ya... For UGC Net Exam (To get help or to help) Join: = ugc...@ya... Are you Gujarati? Join a group of&by&for The Gujaratis = guj...@ya...=20 Did you study at Sardar Patel University? Join = spu...@ya...=20 |