- Beginning C++ Game Programming
- John Horton
- 233字
- 2021-07-08 11:13:21
Meet C++
One question you might have is, why use C++ at all? C++ is fast, very fast. What makes this the case is the fact that the code that we write is directly translated into machine executable instructions. These instructions make the game. The executable game is contained within an .exe
file that the player can simply double-click to run.
There are a few steps in the process. First, the pre-processor looks to see if any other code needs to be included within our own code and adds it when necessary. Next, all the code is compiled into object files by the compiler program. Finally, a third program, called the linker, joins all the object files into the executable file, which is our game.
In addition, C++ is well established at the same time as being extremely up-to-date. C++ is an object oriented programming ( OOP ) language, which means we can write and organize our code in a proven way that makes our games efficient and manageable. The benefits, as well as the necessity for this, will reveal themselves as we progress through the book.
Most of the other code to which I referred is SFML, and we will find out more about SFML in just a minute. The pre-processor, compiler, and linker programs I have just mentioned, are all part of the Visual Studio Integrated Development Environment(IDE).
- JavaScript百煉成仙
- Visual C++程序設(shè)計(jì)教程
- 自己動(dòng)手寫搜索引擎
- Django開發(fā)從入門到實(shí)踐
- Getting Started with SQL Server 2012 Cube Development
- C程序設(shè)計(jì)案例教程
- 量化金融R語言高級(jí)教程
- Android玩家必備
- Julia 1.0 Programming Complete Reference Guide
- Java圖像處理:基于OpenCV與JVM
- IDA Pro權(quán)威指南(第2版)
- Serverless Web Applications with React and Firebase
- 小程序從0到1:微信全棧工程師一本通
- PhoneGap 4 Mobile Application Development Cookbook
- C語言程序設(shè)計(jì)與應(yīng)用實(shí)驗(yàn)指導(dǎo)書(第2版)