文件名称:5080309283_5
- 所属分类:
- C#编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 48kb
- 下载次数:
- 0次
- 提 供 者:
- 厄**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
本次实验将练习指针和基于指针的字符串操作,以及多模块文件编程。你需要设计完成一个猜单词的小游戏wordZ。该程序将从一个字典中随机地选择一个单词,并用’-’字符告诉用户该单词有几个字母。用户每次输入一个字母后,程序判断该字母是否在该单词中,如果有则显示该单词中所有该字母,否则提示没有猜中。用户可以最多有8次猜测的机会(重复输入的字母不计入在内。)。如果用户在最大的猜测机会内猜中了该单词,则该次游戏用户胜利,否则用户失败。-This experiment will practice pointers and pointer-based string operations, as well as multi-module program files. You need to design to complete a suspect word game wordZ. The program will randomly choose a dictionary, a word and use '-' character to tell the user there are several letters of the word. After each time a user enter a letter, the program to determine whether the letter of the word, if there is displayed in all the letters in the word, otherwise there is no guess prompted. Users can have up to eight times the chance to guess (to re-type the letters are not included in included.). If the user within the maximum opportunity to guess guessed the word, then the second game players win, or the user fails.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
5080309283_5\randword.cpp
............\randword.h
............\words.txt
............\5080309283_5.ncb
............\5080309283_5.plg
............\5080309283_5.cpp
............\5080309283_5.opt
............\5080309283_5.dsp
............\5080309283_5.dsw
5080309283_5
............\randword.h
............\words.txt
............\5080309283_5.ncb
............\5080309283_5.plg
............\5080309283_5.cpp
............\5080309283_5.opt
............\5080309283_5.dsp
............\5080309283_5.dsw
5080309283_5