- 1

Wich is?

Wich is the "c" that uses "printf" because I study that I think it's c++ but when I enter at c++ it's name is "cout" my question is. Why? I use: DEV c++ in my computer and I can put printf without any problem. pls help and sry for my bad english

24th Jan 2018, 7:22 AM
Phos
Phos - avatar
3 Antworten
+ 9
c++ can use printf as well as c In c++ we use #include <cstdio> to access printf in c we use #include <stdio.h> to access printf
24th Jan 2018, 7:25 AM
jay
jay - avatar
+ 2
C++ can use any C library, so C code is 100% transferrable to a C++ program.
25th Jan 2018, 2:27 AM
Jacob Pembleton
Jacob Pembleton - avatar
0
thx bro :)
24th Jan 2018, 1:50 PM
Phos
Phos - avatar