+ 1

"Cout" and "cin"

does count and cin just work on c++ or work in C as well?

24th Oct 2019, 9:21 AM
aida
aida - avatar
3 odpowiedzi
+ 2
No, they work only in c++ But if you include Stdio.h in your program (In c++)then you can indirectly use it This is because c++ is derived from C not visa versa
24th Oct 2019, 9:27 AM
Arsenic
Arsenic - avatar
+ 1
oh ok
24th Oct 2019, 9:31 AM
aida
aida - avatar
0
They are only in C++ In C you use print or println
24th Oct 2019, 1:20 PM
Jannik Müller
Jannik Müller - avatar