大好河山是什么生肖| 女真人是什么民族| 老年人爱出汗是什么原因| 中暑吃什么药好| 什么病不能吃绿豆| tem是什么| as是什么元素| 梦见大蜘蛛是什么预兆| 竖小拇指什么意思| 肿瘤标志物高说明什么| 月经提前量少是什么原因| 塔姆是什么动物| 付梓什么意思| 正高是什么级别| 脑供血不足吃什么中药| 幽门螺杆菌感染吃什么药| 卡介疫苗是预防什么的| 肠胃不好喝什么奶粉好| 心跳过慢吃什么药| 欧皇什么意思| 胃泌素偏低是什么原因| 双肺纹理增多增粗是什么意思| 儿童咽峡炎吃什么药| 枸杞加什么泡水喝壮阳| 咬肌疼是什么原因| 西红柿和什么榨汁减肥| 粗粮是什么| 左膝关节退行性变是什么意思| 女人缺少雌激素吃什么| 阴阳两虚吃什么| 眼球出血是什么原因引起的| 欲望什么意思| 0代表什么意思| 什么水果对皮肤好祛痘| 嘴巴苦是什么原因引起的| 九价是什么意思| 猫的偏旁叫什么| 脚底板痛挂什么科| 一什么马车| 羊水是什么| 男人补锌有什么好处| 鼻涕黄粘稠是什么原因| 妇科炎症是什么原因引起的| 柠檬茶喝了有什么好处| 反流性食管炎吃什么中成药最好| 什么样的人容易高原反应| 三湖慈鲷可以和什么鱼混养| 69属什么| 腊八蒜为什么是绿色的| 吐血拉血是什么病的症状| 恭喜什么意思| 7月8日什么星座| 传单是什么病| 女性脂肪率偏高说明什么| 吃什么开胃增加食欲| 什么是水印照片| 小孩查微量元素挂什么科| 猪拉稀用什么药最快| 为什么眼皮会肿| 孩子结膜炎用什么眼药水| 五爷是什么菩萨| 有张有弛是什么意思| 红玛瑙适合什么人戴| 幽门螺杆菌阳性什么意思| 嗓子有异物感吃什么药| 胸部b超挂什么科| 殖民地是什么意思| 长期拉肚子是什么原因| 2030是什么年| 妊娠纹是什么| urea是什么意思| 本科和专科是什么意思| 衣衫褴褛是什么意思| 左顾右盼的顾是什么意思| 中医经方是什么意思| ca是什么意思| 古今内衣是什么档次| 什么耳什么腮| 草是什么植物| 天体是什么意思| 裸车是什么意思| 夏至为什么吃馄饨| 茄子吃多了有什么坏处| 苦荞茶有什么作用| 孔子孟子什么关系| 买手机上什么网| 什么属相不能养龙鱼| 大运什么意思| 清华校长什么级别| 无氧运动是什么意思| 7月26是什么星座| 黑道是什么意思| 新五行属什么| 什么病不能吃豌豆| 皮肤一块块白是什么病| 下边瘙痒是什么原因| 老打喷嚏是什么原因| 脾胃虚吃什么水果好| 铁剂什么时候吃最好| 今天是什么节日吗| 什么是淀粉| 诺如病毒拉的大便是什么样的| 12月出生是什么星座| 梦到抓鱼是什么意思| 什么水解酒| hpy什么意思| 农历六月初十是什么日子| 小便有点红是什么原因| 舌苔厚黄吃什么药| 脾阳不足吃什么中成药| 黄芪是什么样子的| 梦见吃酒席是什么意思| 沙门氏菌是什么| 7月初7是什么节日| 乳腺增生什么意思| 昌字五行属什么| 2023属什么生肖| 生理需要是什么意思| 饭后胃胀是什么原因导致的| 短效避孕药什么牌子好| 什么样的西瓜甜| 漏尿是什么原因引起的| 狗鼻子为什么是湿的| 哪吒的武器是什么| 什么时间英语| 内能与什么因素有关| 来大姨妈喝什么汤比较好| 慕名而来是什么意思| 戊肝是什么病| walls是什么意思| 三头六臂开过什么生肖| 血压低吃什么| 产后恶露吃什么排干净| 淮山和山药有什么区别| 头秃了一块是什么原因| 7月20号是什么星座| 竹肠是什么部位| 睡鼠吃什么| 阿胶是什么| 瞳孔扩散意味着什么| 喝什么茶清肺效果最好| 子宫形态失常是什么意思| 扁桃体肥大吃什么药好得快| diy是什么| 微博id是什么| 什么是被子植物| 副军级是什么级别| 怀孕后吃避孕药有什么后果| 雷贝拉唑钠肠溶片什么时候吃| 梦遗是什么原因| nm是什么意思| 猫传腹是什么| afp是什么| 草字头加果念什么| 妇科腺肌症是什么病| 不正常的人有什么表现| 肥牛是什么肉| ta是什么| 女人佩戴什么增加阳气| 谷子是什么意思| 1.28什么星座| 肺看什么科室| 尿酸碱度是什么意思| 梦见自己掉头发是什么意思| 毛囊炎吃什么药最有效| 什么叫烟雾病| 小孩铅过高有什么症状| 木圣念什么| 什么是真菌| 病毒是什么生物| 冠心病是什么| 人工流产和无痛人流有什么区别| 缺锌容易得什么病| hivab是什么检测| 五指毛桃有什么功效| 禅位是什么意思| 藏风聚气是什么意思| 胃湿热吃什么药| 感情洁癖什么意思| 梦到喝酒是什么意思| 微信为什么发不了视频| 飞蛾为什么扑火| 男性长期熬夜吃什么好| 头上爱出汗是什么原因| 去医院看膝盖挂什么科| 黄水晶五行属什么| 咳嗽喉咙痒吃什么药好得快| 发烧骨头疼是什么原因| 身份证有什么用| 奇脉见于什么病| RH是什么| 一什么所什么| 人为什么会做梦| 小腹痛什么原因| 菊花搭配什么泡茶最好| 脑溢血有什么症状| 红薯不能和什么一起吃| 脚指麻木是什么病先兆| 潘字五行属什么| 牙龈紫黑是什么原因| 蛊惑是什么意思| 万条垂下绿丝绦是什么季节| 兴奋是什么意思| 女人吃葛根粉有什么好处| 迪卡侬属于什么档次| 儿童支原体感染吃什么药| 老年人吃什么增强免疫力| 高血压注意什么| 双肺纹理增重是什么意思| 碳酸氢钠是什么添加剂| 琥珀是什么意思| 葡萄糖属于什么糖| 衤字旁与什么有关| 初级中学是什么意思| 脚背疼挂什么科| 代沟是什么意思| 依从性是什么意思| 透析病人磷高了吃什么降磷| 经常泡脚有什么好处| 打嗝是什么病的前兆| 防蓝光是什么意思| 西红柿含什么维生素| 心肌缺血吃什么食物好| 为什么不建议年轻人做肠镜| 肝火旺盛喝什么茶| 胃溃疡能吃什么| 晨起口干口苦是什么原因| 思维是什么意思| 睡觉头晕是什么原因引起的| 什么的故事填空| 槟榔长什么样子| 肠胃感冒吃什么药| 定心丸什么意思| 二倍体是什么意思| 36朵玫瑰花代表什么意思| 梦见自己手机丢了是什么意思| 脸上浮肿是什么原因导致的| 什么叫做亚健康| 产后第一次来月经是什么颜色| 指甲竖条纹是什么原因| 羟苯乙酯是什么| 总胆固醇低是什么原因| 合子是什么| 男人鼻子大代表什么| 房颤吃什么药最好| 小寨附近有什么好玩的| 睡不着觉什么原因| 波立维什么时间吃最好| 宝宝打嗝是什么原因引起的| 孩子发烧吃什么饭菜好| 狼吃什么| 无毒不丈夫是什么意思| 双腿酸软无力吃什么药| 乳腺结节是什么引起的| 眩晕症是什么原因| 门槛是什么意思| 什么是血压| 摸底是什么意思| 广东省省长什么级别| 香肠炒什么菜好吃| 人爱出汗是什么原因| 七月一号是什么节| 眉尾上方有痣代表什么| 天赋异禀什么意思| 百度
Zingtech
Wireless Home Networking Game Programming

Ethernet Networking

 


zingtech.com
Web

 

 

 

 

[江西]九景管理处桥隧所多项措施应对强降雨天

Summary

The information contained here will try to assist people that are totally new or just beginning programming. I will explain how to get started, and what to do to continue programming and learning. I will offer suggestions based on my own experiences.

Start Here

If you are reading this, you probably already have some interest in programming. Maybe you don't know exactly how to start? Or are wondering what to do next? Well this guide will try to guide you through the steps to begin programming. Learning how to program is not as hard as most people think, but it does require one thing: a desire. You need to be the one that wants to program. If you are not at all interested, or if someone else is encouraging you to, I would not recommend learning. Without a personal desire to learn computer programming, you will most likely fail. Any small roadblock will get you frustrated and make you want to quit. However, with patience and desire, any roadblock can be overcome. You can do anything if you put your mind to it.

Ok, enough for the psychological introduction (probably scared most of the people away). Where to start? As with most things, there are various levels of difficulty in the path you choose to take. The path that I will describe here begins with C/C++, touches on win32 API, and finishes on game programming. You would think each step would seem to get harder, but if you have completed the previous step, there shouldn't be much change in difficulty. This is because you live and learn by the mistakes you make.

If you are interested in game programming, you need to learn at least C first. C++ is not necessary for game development, but is highly recommended. C++ gives you OOP (object oriented programming) which can be very helpful for game development, especially in Role Playing Games. MFC (Microsoft Foundation Class) builds on C++ and gives you lots of "classes" to accelerate building applications. MFC is recommended for developing tools for your game, but not for the game itself because it is too slow. However, there is lots of debate whether or not MFC should be used for game programming, so you will have to decide for yourself. I personally do not use MFC, for I see no need in it.


Target Platform

Before you start to program, you need to decide what platform you want to write your applications for. A platform is the operating system the application will run on. There are quite a few different platforms, each having specific characteristics:

Windows (win3.1, win95, win98, winNT)

The most popular platform for applications and games. Almost all commercial games are developed for this platform in today's marketplace. The reason for this is that Windows makes it extremely easy for the end-users to use and run the software. Developers, on the other hand, have to put up with a little more, because Windows is more complicated than other platforms to program. However, Windows does have some nice features. There are many Windows users, and thus, many people will be able to run your software. Windows also provides access to the hardware without having to write your own drivers (unlike DOS). It is also easy for "normal" users to install and setup your application after you distribute it. With some of the programming libraries available today, developers do not need to

Historically speaking, the transition from DOS programming to Windows gained momentum when Microsoft created the "programming library" called DirectX. DirectX is a API (Application Programming Interface) that allows fast and easy access to the hardware. By creating DirectX, Microsoft gave developers a reason to switch to Windows: games were easy to install and run by end-users, and programmers were able to write fast games that rivaled DOS's performance.

Read the Zingtech DirectX overview here.

Linux

Linux is quite new to the game development market, but that does not mean it is not feasible. Games can easily be written for Linux using one of the available game development libraries available. My favorite is Allegro, which allows a game to be run on both Linux and Windows, along with a number of other platforms. The Linux user base is currently relatively small, but it is exploding in size, so make sure you consider it for any serious game development.

DOS

Today, DOS is basically extinct. DOS used to be used for game development, but not anymore. However, DOS programming is some of the simplest to learn, and DOS gives you direct access to the hardware. Because of the direct hardware access, programmers can tweak their programs to get the most out of the computer's hardware. This means that games are very fast. However, there are some negative aspects of programming for DOS. One is that you have to write drivers for the different hardware your program uses. This shouldn't be too troublesome; just get a library like Allegro and you don't need to worry about the nuts-and-bolts of how it works. The second negative aspect is that Microsoft no longer supports DOS, and the end user base is constantly shrinking.

I personally don't recommend you do any serious development targeted at DOS. DOS is a thing of the past. I would recommend you get a win32 compiler and DirectX if you really want to get into serious game development. However, with the new game development libraries, programming for Windows is almost as easy as programming for DOS.

 

Miscellaneous

There are always other platforms to target, but these happen to be the most popular, especially for game development. Apple Macintosh and others have a very small user base, thus making anything developed for these platforms almost useless.

C

To learn C, I obtained the book New C Primer Plus: Second Edition, by Waite & Prata, published by The Waite Group. I bought it at ReadMe.Doc. This online bookstore sells computer books at a discounted price. It may not look as fancy as others like Amazon, but this is the place to go to save a buck. This book taught me everything I needed to know about C. During this book, I used DJGPP(download here) to try out all the new concepts that were being taught to me. This is a totally free compiler that creates fast and small code. Shortly after, I discovered the Allegro Game Programming Library that goes along with DJGPP. Allegro uses C and this allowed me to make my first game, a simple space shooter game. That got boring after awhile, so I thought it was time to move on.

C++

I bought Microsoft Visual C++ 5.0. The price for an academic version of MSVC++ 5 Professional Edition is $100; Learning Edition is $50. The Learning Edition does not have an optimizing compiler or profiler, so I do not recommend the Learning Edition for any serious developer, especially game developers (additional differences are listed here). The academic versions of Microsoft products usually can not be sold to high school students, but the Microsoft Academic Store makes an exception. The normal price is huge, Professional Edition is $500; Learning Edition is $100, so try to get the academic version if you qualify for it. To learn about my new compiler, I got the book Beginning Visual C++ 5, by Ivor Horton, published by Wrox. This book taught me three concepts: Visual C++ 5.0 itself, the C++ language, and MFC. The first half of the book was a fast-paced tutorial about C++ in general. It didn't use very many MSVC++ specific programming concepts. However, scattered throughout the tutorial were tips on how to use MSVC++ more efficiently. Then, in the second half of the book, was an introductory tutorial about MFC. It didn't get into the specifics because there wasn't enough time or space. Entire books have been written about MFC, but this book just summed up the essentials into 500 pages. This creates a good foundation for future MFC reading. Game developers do not need to worry about learning MFC because it is rarely used in game development.

MFC

I learned MFC with C++ in the previous section. With regards to game development, there is much debate whether or not MFC should be used. In my opinion, it would be preferable to avoid MFC, due to the fact that reliance on MFC will make an application harder to port to other operating systems. I recommend skipping MFC and moving directly to win32 or game development.

win32

I bought the book Programming Windows 95, by Charles Petzold, published by the Microsoft Press. I have read the entire book, and it has helped me extensively. Many times in game development, a program will need to interface with Windows, so it's good idea to have at least a little background knowledge to aid you. At the same time I learned DirectX, much to the thanks of Windows Game Programming for Dummies, by Andre LaMothe. This book provided numerous examples and was very easy to follow.

Game Programming

Game programming is listed last in the list for few reasons. Game programming requires that you know a lot about the language you are programming with. The reason for this is that games must be optimized for speed and if you don't know the fastest way to complete a task in your language, your game will be rather slow. However, everyone must start somewhere. So, pick a language you are fairly good at and use that language to write a game. A game can be written in entirely C, so you might not even have to learn C++ or win32. But as I have said before, C++ and win32 will most likely help you later on.

For more information about game programming, check out the other pages in my Game Development section!

<< Back to Game Development

Questions? Comments? Share your thoughts on the Discussion Forums...


Google
 
Web zingtech.com
Unless otherwise noted, all contents are copyright ? 1997 through 2007 Zingtech Computer Solutions and Michael Matczynski (). All rights reserved. If you have any questions or comments regarding this site, contact the webmaster or consult the legal disclaimer.

Check out wineries at Catch Wine.com:
Alabama Wineries - Alaska Wineries - Arizona Wineries - Arkansas Wineries - California Wineries - Colorado Wineries - Connecticut Wineries - Delaware Wineries - Florida Wineries - Georgia Wineries - Hawaii Wineries - Idaho Wineries - Illinois Wineries - Indiana Wineries - Iowa Wineries - Kansas Wineries - Kentucky Wineries - Louisiana Wineries - Maine Wineries - Maryland Wineries - Massachusetts Wineries - Michigan Wineries - Minnesota Wineries - Mississippi Wineries - Missouri Wineries - Montana Wineries - Nebraska Wineries - Nevada Wineries - New Hampshire Wineries - New Jersey Wineries - New Mexico Wineries - New York Wineries - North Carolina Wineries - North Dakota Wineries - Ohio Wineries - Oklahoma Wineries - Oregon Wineries - Pennsylvania Wineries - Rhode Island Wineries - South Carolina Wineries - South Dakota Wineries - Tennessee Wineries - Texas Wineries - Utah Wineries - Vermont Wineries - Virginia Wineries - Washington Wineries - West Virginia Wineries - Wisconsin Wineries - Wyoming Wineries
尿酸盐结晶是什么意思 腹部ct平扫能检查出什么 躺尸是什么意思 子宫小是什么原因引起的 回乳是什么意思
93年属什么今年多大 芒果什么品种最好吃 什么是直径 双鱼座和什么星座最配 动脉硬化是什么意思
o型b型生的孩子是什么血型 王安石是什么朝代的 突然头晕是什么情况 白酒泡什么补肾壮阳最好 crocodile是什么牌子
什么其不什么 饮料喝多了有什么危害 胃火旺喝什么茶 源源不断是什么意思 什么是癔症
答辩是什么gangsutong.com 母亲节送婆婆什么礼物hcv7jop5ns6r.cn 东海龙王叫什么hcv8jop7ns2r.cn 什么叫985大学hcv8jop7ns7r.cn 广西北海有什么好玩的地方hcv8jop6ns7r.cn
s.m是什么意思hcv9jop2ns9r.cn 功德是什么意思hcv8jop5ns9r.cn 女生下面什么样dayuxmw.com 什么地方看到的月亮最大hcv7jop6ns6r.cn 农历10月22日是什么星座hcv9jop2ns3r.cn
阴道镜是检查什么的hcv9jop6ns7r.cn 红眼病不能吃什么东西hcv9jop3ns2r.cn 翡翠和玉的区别是什么1949doufunao.com 梦见小婴儿是什么意思shenchushe.com 青鹏软膏主要治疗什么hcv8jop9ns8r.cn
什么牛什么毛hcv7jop5ns3r.cn 巴图是什么意思hcv8jop6ns5r.cn 汗蒸是什么意思hcv8jop3ns5r.cn 什么样的红点是白血病hcv7jop9ns0r.cn 晚上7点是什么时辰hcv7jop9ns5r.cn
百度