std::cout << "Backslash: \\" << std::endl;
std::cout << "Double quotes: \"" << std::endl;
I can understand the need of a backslash to input the double quote and the backslash itself, we cannot do otherwise without it.
But what about the single quote and the question mark?
std::cout << "Single quote: '" << std::endl;
std::cout << "question mark: ?" << std::endl;
In code above I can output them without the backslash, so why we need that backslash?
std::cout << "\tCareful a tab!\tI told you" << std::endl;
Here the first tabulation is 8 white characters, but the second one is only 2 characters. Why is that?
I understand and I can use \a, \n and \r, but what about \v and \f, does anyone knows a visual use of them, that is, for \v, I expect 8 white lines, but I do not get it, instead I got a weird character(a box with a question mark inside it).