Today, we will discuss basic techniques in C++. It is the new line character. In C++ we have two ways to print out a new lines. printf("\n"); using std::cout << std::endl; The question is which one is faster? Answer: '\n' is significantly faster than std::endl in C++. Here's why: \n is simply a newline character. It …
Read More