Hey guys im wrting a code but ran into a problem, i am asking the user to enter the password that is random from an array. For example if the hint of the password is bark the the password is dog and if the hint is meow then the password is cat etc.
i want to use arrays and random function but cant find out how to do it.
1 2 3 4 5 6
string password [] = {cat dog cow ... etc]
string hint[] = {meow bark moo.....etc]
// please help thanks in advanced //
ok thanks for that i was wondering how to do it but still a little confused but gonna try that approach need to change a few things on my code thanks a lot ill post it in a lil bit
yes but i wanted to compare 2 arrays with the same that way i just add it to the array without making any changes in the code besides the arrays or is there a simpler way besides that