Code:
#include <iostream.h>
char user, pass;

int main(int argc, char *argv[])
{
     cout <<"                          Project Communication Service\n";
     cout <<"                            Private Message bot v1.0\n\n\n";
     cout <<"LOGIN\n";
     cout <<"Username: ";
     cin>>user;
     cout << "Password: ";
     cin>>pass;
  return 0;
}
The above code will only execute the pasword cout and cin if the user cin = a integer, otherwise it just closes. Does anyone know why? (I am really new to C++, sorry) Thanks.