User profile: AbstractionAnon

User info
User name:AbstractionAnon
Number of posts:6450
Latest posts:

access non static member function
I would be very cautious about using [code]const char *[/code] as the type of your key. [code]void a...

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 queue
line 33: Do not loop on (! stream.eof()) or (stream.good()). This does not work the way you expect. ...