+ 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

3rd Nov 2018, 6:27 AM
Mister MH🇯🇴🇵🇰
Mister MH🇯🇴🇵🇰 - avatar
6 odpowiedzi
+ 11
Iostream is a c++ library not a c library. Use stdio.h in c
3rd Nov 2018, 6:41 AM
jay
jay - avatar
+ 1
ok Thanx Abdul Rehman
3rd Nov 2018, 8:36 AM
Mister MH🇯🇴🇵🇰
Mister MH🇯🇴🇵🇰 - avatar
+ 1
you are wrong you can have to use <iostreame> for c++ and stdio,conio.h for c
9th Nov 2018, 1:23 AM
Fan Of Mr Beast
Fan Of Mr Beast - avatar
0
In latest version of c++ studio.h and conio.h are also used.
3rd Nov 2018, 8:58 AM
Muhammad Jahad Tariq
Muhammad Jahad Tariq - avatar
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.
28th Jan 2019, 4:03 AM
Shahid Latif
Shahid Latif - avatar
- 1
Iostream is cpp library but you can use it by including it
3rd Nov 2018, 8:35 AM
Abdul Rehman
Abdul Rehman - avatar