0
Can I use printf for hello world by including #include <stdio.h> also?
#include <stdio.h> and use printf for hello world Why we use <iostream> instead of <stdio.h>?
2 Respostas
+ 6
<iostream> is part of the standard C++ library.
<stdio.h> is part of the standard C library.
While stdio.h will work in C++, it isn't recommended because it does not provide everything that iostream includes as iostream is specifically for C++.
+ 1
NO U CANT , KA YIP
stdio.h is only used in C....u have to use IOSTREAM...PLS FOLLOW ME KA YIP