if(user=="abel" && pass=="pass")
Look up how to compare strings again. You need to use strcmp()
And remove your 2 #define's. They make the code harder to understand, not easier.
WaltP
Posting Sage w/ dash of thyme
11,404 posts since May 2006
Reputation Points: 3,421
Solved Threads: 1,055
Skill Endorsements: 37