Lets say I had just created a
And then the user was asked for their name, which I put Username[50] in.Code:char Username[50];
Based on what their Username is, different things will show up.Code:getline(Username, 50);
The problem I have having, and would like to get fixed, is the if part. What do I do there? Do I do what I did, with the [50] by Username, or do I just doCode:if (Username[50] == "Test") { // do something }
Because right now it doesn't register what the name entered is.Code:Username == "Test"
Thanks alot for any help. Please, please help me out here.