Facebook Sharer
选择您要替换的背景颜色:
【农历新年】背景图片:
个性化设定
 注册  找回密码
查看: 635|回复: 1
打印 上一主题 下一主题

C programming~遇到难题了...谁能指点下呀

[复制链接]

29

主题

0

好友

2381

积分

白金长老

Rank: 10

跳转到指定楼层
1#
发表于 2013-12-15 01:33 PM |只看该作者 |倒序浏览
我需要做一个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”.




收藏收藏0

2

主题

1

好友

349

积分

超级会员

Rank: 5Rank: 5Rank: 5Rank: 5Rank: 5

2#
发表于 2013-12-15 06:29 PM |只看该作者
LZ你没说清楚问题在哪?是不是给个题目然后要人家帮你做出来?具体你的问题在哪里?
另外你这个也不难,会点文件操作和字符串处理就差不多完成了


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

JBTALKS.CC |联系我们 |隐私政策 |Share

GMT+8, 2025-1-28 10:28 AM , Processed in 0.109674 second(s), 21 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

Ultra High-performance Dedicated Server powered by iCore Technology Sdn. Bhd.
Domain Registration | Web Hosting | Email Hosting | Forum Hosting | ECShop Hosting | Dedicated Server | Colocation Services
本论坛言论纯属发表者个人意见,与本论坛立场无关
Copyright © 2003-2012 JBTALKS.CC All Rights Reserved
合作联盟网站:
JBTALKS 马来西亚中文论坛 | JBTALKS我的空间 | ICORE TECHNOLOGY SDN. BHD.
回顶部