new line?
std::cout « "The Result: " « x « "\n";
std::cout « "The Result: " « x « '\n';
* Also, what would you do if you want to Google that question if you were in my case c:
The difference here is the string "\n" vs the character '\n' ?
'\n' would be preferred according to me because its just a char and "\n" is a string
Обсуждают сегодня