using namespace std;
That worked. However, being that it has its own header file, I assumed it would work better than using a character array, but I still have the same problem.
Name = ""
If I input Thomas, the output is:
However, if I input Thomas Anderson, the output is
How can I include spaces and such in one string?