Username and Password using String[code]int i;[/code] i is uninitialized. i.e. garbage value. [code]if(strcmp(user1, userName[i])==...
sorting rand arr[]Second, your have to actually store the random numbers in the array before you can sort it. Lines 6...
Why should we only use i in for loop?There's no rule that says you have to. Using i for a loop variable is a throwback to the early FORT...
Capacity of queueline 33: Do not loop on (! stream.eof()) or (stream.good()). This does not work the way you expect. ...
help me with the modification of the codeWhat modification do you need help with? The only problem I see is that the use of time() on line 2...