Link Details

Link 284893 thumbnail
User 448255 avatar

By dotCore
via dreamincode.net
Submitted: Nov 09 2009 / 07:07

Many people still think that printf and scanf belongs to C while cout and cin belongs to C++ and so they avoid using printf and scanf while writing programs in C++. Of-course you cant do this viceversa but depending on the design of your program you should use printf and cout accordingly. This is because printf though cryptic and complex in it's nature takes up a lot fewer bytes than what cout hogs up. This is exactly what this article does. This Article will show you which function is better under a certain situation.
  • 7
  • 0
  • 204
  • 27

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (7)



Voters Against This Link (0)