I'm working on a program that prints different statements. In the following code, which case would be faster?
Case 1:
cout << "----------------------------------" << endl;
cout << "Email is not found in the database" << endl;
cout << "----------------------------------\n" << endl;
Case 2:
cout << "----------------------------------\nEmail is not found in the database\n----------------------------------\n" << endl;
Thanks in advance.