Quote:
Originally Posted by arpanmukherjee1
but the advantage(s) of C++ over C must be kept in mind
|
???
Not sure how std::cin can be an advantage of C++ over C? Only advantage I can think of that you have to specify the format for the input in scanf which is not needed in std::cin. However both exhibit similar behaviour since they are usually implemented as line buffered.