学海无涯苦作舟!
学海无涯苦作舟!
摘要
本课题的目的主要是C语言的综合编程能力的掌握,培养自身的分析问题和解决问题的能力及逻辑思维能力。该课题主要包括使用C语言制作“贪吃蛇”“黑白棋”,主
要考察对函数、结构体,指针,文件等的操作,以及C语言基本规则和算法的掌握,所
以完成本课题能够培养较强的设计能力,特别是对 C语言的综合应用能力。如何调程序 也非常重要,通过这个程序可以学习到以前调试短程序没有的的经验。
关键词:C语言 小游戏 贪吃蛇 黑白棋 WIN-TC
Abstract
The main purpose of this task is a comprehensive C programming Ianguage ability to master and cultivate their own analysis of problems and problem-solving skills and logical thinking ability. The topics in clude using the C Ian guage product ion "Sn ake" "Othello", mainly on the function, structure, poin ters, files operation, and C Ianguage to master the basic rules and algorithms, so the completion of this subject to bring up more strong design capabilities, especially in C Ianguage, comprehensive ability. How to adjust the process is important, through this process before the debugger can learn to not experienee the short program.
Key Words : C game Snake Othello WIN-TC
目 录
TOC \o "1-5" \h \z 摘 要 I
\o "Current Document" Abstract .11
\o "Current Document" 引言1..
\o "Current Document" 1 ?课题相关知识2..
\o "Current Document" 课题背景2..
\o "Current Document" C语言的历史2
\o "Current Document" C语言的特点3
\o "Current Document" 1.1.3 C语言编程游戏的发展前景 5
\o "Current Document" 1.2研究意义和重要性5..
\o "Current Document" 方案论证或可行性 6..
\o "Current Document" 2.1方案论证6…
\o "Current Document" 2.2 系统工具WIN-TC7.
\o "Current Document" 2.3可行性1.1.
\o "Current Document" 贪吃蛇游戏设计12
\o "Current Document" 3.1程序功能12
\o "Current Document" 3.2程序设计12
\o "Current Document" 3.2.1游戏界面 12
\o "Current Document" 3.2.2设计思路 13
\o "Current Document" 黑白棋游戏设计 17
\o "Current Document" 4.1程序功能17
\o "Current Document" 4.2程序设计目的17
\o "Current Document" 4.3程序设计17
\o "Current Document" 4.3.1游戏规则17
\o "Current Document" 4.3.2游戏界面17
\o "Current Document" 4.3.3程序设计思路18
\o "Current Document" 结论24.
\o "Current Document" 参考文献25.
\o "Current Document" 致谢26.
引言
C语言是Combined Language (组合语言)的中英混合简称。是一种计算机程序 设计语言。它既具有高级语言的特