whats wrong with this login i forgot to add main function and headers and yes i did have return 0; at the end
char Pone; char Ptwo; char Pthree; char Pfour; char Pfive; char Psix; char Pseven; char Peight; char One; char Two; char Three; char Four; char Five; char Six; char seven; char Eight; char Nine; char Ten; cout << "Enter your username, Make sure it's 10 characters long."; cin >> One >> Two >> Three >> Four >> Five >> Six >> seven >> Eight >> Nine >> Ten; bool c = isdigit(One); bool ch = isdigit(Two); bool che = isdigit(Three); bool chec = isdigit(Four); bool check = isdigit(Five); bool checki = isdigit(Six); bool checkin = isdigit(seven); bool checking = isdigit(Eight); bool checkingc = isdigit(Nine); bool checkingch = isdigit(Ten); cout << endl; for (int i = 0; i < 100000; i++) { if (c && ch && che && chec && check && checki && checkin && checking && checkingc && checkingch == 1) { cout << "Username must contain a letter, pleae reenter your username "; cin >> One >> Two >> Three >> Four >> Five >> Six >> seven >> Eight >> Nine >> Ten; } } string password; cout << "Enter Random for random password, enter anything else to get to choose your password" << endl; cin >> password; if (password == "Random") { string data = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" "abcdefghijklnmopqrstuvwxyz" "1234567890" "@#',.
amp;^-_+={}[}()*?!%\/`<>"; string pass; for (int i = 0; i <= 8; i++) { pass = pass + data[rand() % data.length()]; } cout << "Your random password is " << pass << "\n"; } else { cout << "Enter your Password, Make sure it's 8 characters long and make sure there is no tilde~"; cin >> Pone >> Ptwo >> Pthree >> Pfour >> Pfive >> Psix >> Pseven >> Peight; } cout << "Your Username is " << One << Two << Three << Four << Five << Six << seven << Eight << Nine << Ten << endl <<