use "strlen" and check character ranges. look at your ascii table.
post some code if you want any more advice.
jephthah
Posting Maven
2,587 posts since Feb 2008
Reputation Points: 2,143
Solved Threads: 179
that doesnt help him if his password is supposed to be EXACTLY seven characters, now does it?
and this is C, not C++
jephthah
Posting Maven
2,587 posts since Feb 2008
Reputation Points: 2,143
Solved Threads: 179
After reading in the password call functions to test each individual rule. Don't try to test all things in one function, or ghod forbid right after the read.
WaltP
Posting Sage w/ dash of thyme
10,505 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944