All off topic discussions go here. Everything from the funny thing your cat did to your favorite tv shows. Non-programming computer questions are ok too.
Your program is flawed. Using C-style strings (a.k.a. array of chars) you must use strcmp, not the == operator.
Therefore, any username/password, as long as the 10th character of the username is null, and the 10th character of the password is 9, they should be able to log in. Also, you have a memory overflow with the password. The array is 10 characters wide, and you have provided a string 10 characters, and since strings are null terminated, the null character is being placed in the 11th element which does does not exist and is probably being used by another variable.
Also, when accepting strings as input, you should have a limit on the number of characters you can input (unless you're using C++ std::strings which are dynamically allocated) for the chance the someone is likely to have a username/password greater than 9 characters (the 10th character being the null-termination).