help icon indicating copy to clipboard operation
help copied to clipboard

Why does omitting the ; in a C++ notebook cause the variable to be printed?

Open davidskeck opened this issue 6 years ago • 0 comments

This seems like an odd choice. If someone was new to C++ they could easily get confused. Why not just use the standard output?

std::cout << x;

davidskeck avatar Feb 19 '19 00:02 davidskeck