+ 6
c language input output???
in the course of c language <stdio. h> library is used and printf() & scanf() used for input & output... instead of this can we use cin>> & cout<< for input output by using <iostream. h>???? https://www.sololearn.com/discuss/1316935/?ref=app https://www.sololearn.com/discuss/1316935/?ref=app
6 ответов
+ 11
Iostream is a c++ library not a c library.
Use stdio.h in c
+ 1
ok Thanx Abdul Rehman
+ 1
you are wrong you can have to use <iostreame> for c++ and stdio,conio.h for c
0
In latest version of c++ studio.h and conio.h are also used.
0
C++ is a superset of C when you write software in C++, you can almost use all C library functions. But when you have only a C compiler or use C++ compiler with the C only flag, you can not use any C++ language feature or standard library functions or methods of C++ programming language.
- 1
Iostream is cpp library but you can use it by including it