- C++ Game Development By Example
- Siddharth Shekar
- 186字
- 2021-06-24 14:26:09
Conventions used
There are a number of text conventions used throughout this book.
CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "Here, the printing of Hello, World is tasked to the main function."
A block of code is set as follows:
#include <iostream>
// Program prints out "Hello, World" to screen
int main()
{
std::cout<< "Hello, World."<<std::endl;
return 0;
}
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
int main() {
//init game objects
while (window.isOpen()) {
// Handle Keyboard events
// Update Game Objects in the scene
window.clear(sf::Color::Red);
// Render Game Objects
window.display();
}
return 0;
}
Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "In Input and under Linker, type the following .lib files."
Warnings or important notes appear like this.
Tips and tricks appear like this.
推薦閱讀
- Learning SQL Server Reporting Services 2012
- 24小時學會電腦組裝與維護
- 計算機組裝與系統配置
- 嵌入式系統設計教程
- The Deep Learning with Keras Workshop
- R Deep Learning Essentials
- Creating Flat Design Websites
- 超大流量分布式系統架構解決方案:人人都是架構師2.0
- 單片機技術及應用
- 單片微機原理及應用
- 單片機原理及應用
- 基于S5PV210處理器的嵌入式開發完全攻略
- 分布式存儲系統:核心技術、系統實現與Go項目實戰
- 從企業級開發到云原生微服務:Spring Boot實戰
- ActionScript Graphing Cookbook