官术网_书友最值得收藏!

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.
主站蜘蛛池模板: 阿城市| 白玉县| 惠安县| 榆林市| 温宿县| 吐鲁番市| 大城县| 柯坪县| 青川县| 长沙市| 阳新县| 奈曼旗| 原平市| 扎囊县| 马龙县| 凌云县| 合肥市| 达孜县| 黑龙江省| 湘西| 新沂市| 黄山市| 镇沅| 马关县| 长治市| 玛纳斯县| 沐川县| 察雅县| 东乡| 张家港市| 长治市| 铜陵市| 鸡东县| 大余县| 信宜市| 泰来县| 久治县| 桐城市| 深水埗区| 吉林市| 托克托县|