difference between stdio.h and iostream.h?
i used to iostream for output with c++, but I have been noticing stdio.h more common for output since iv started linux? is stdio more for C and iostream made for c++? or is it just a preference?
|
Hi -
Quote:
Using "printf()" in C++ is sometimes frowned upon... ... but you simply *can't* use "cout" in C. 'Hope that helps |
Quote:
Code:
# include <sdtio.h> Code:
#include <oiostream> |
All times are GMT -5. The time now is 08:31 PM. |