标题: C programming~遇到难题了...谁能指点下呀 [打印本页] 作者: 魔方 时间: 2013-12-15 01:33 PM 标题: C programming~遇到难题了...谁能指点下呀 我需要做一个login的program
Login
Only the verified sales officers, supervisors or manager are allow accessing the Bus
Ticketing System.
Should accept the user name (Example: Easter) and the password (The password should
not be displayed on the screen)[ Hints : use getch() function]
User name must not exceed 25 characters and Password must not exceed 15 characters.
Should store the user name and password in the (.bin) or (.dat) file.
If the correct user id and password are supplied then, Main Menu of Bus Ticketing
System should be displayed
If an invalid user id or password is entered then the system should display error
message “Invalid User”.
If the user tries to login more than three (3) times, than the system should display error
message “No of tries exhausted”.
The system then should terminate the application by “Press any key to quit”.作者: kyughanum 时间: 2013-12-15 06:29 PM
LZ你没说清楚问题在哪?是不是给个题目然后要人家帮你做出来?具体你的问题在哪里?
另外你这个也不难,会点文件操作和字符串处理就差不多完成了