I used printf and scanf in C. What are their replacements in C++? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

I used printf and scanf in C. What are their replacements in C++?

7th Jul 2017, 1:17 PM
Sanam Limbu
Sanam Limbu - avatar
2 ответов
+ 2
std::cout and std::cin
7th Jul 2017, 1:25 PM
aklex
aklex - avatar
0
if you are writing c++ with iostream header and using namespace std then simply use cout and cin
7th Jul 2017, 3:24 PM
‎ ‏‏‎Anonymous Guy