M
M
Maxim Siomin2020-06-26 13:05:43
C++ / C#
Maxim Siomin, 2020-06-26 13:05:43

How to print an empty string in c++?

In python, I write simply print()
And how to write the same thing in c ++
I tried (naturally inside main): An error came out. I also tried: And again an error. And I tried again: And again the error
std::cout << " ";
std::cout << "";
std::endl;

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
Timur Pokrovsky, 2020-06-26
@MaxSiominDev

std::cout << std::endl;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question