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

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.
主站蜘蛛池模板: 泰州市| 龙江县| 涡阳县| 扎赉特旗| 建阳市| 肇源县| 桦南县| 思南县| 大竹县| 韶山市| 邹城市| 钟祥市| 仁怀市| 乐业县| 孟州市| 潜山县| 吐鲁番市| 安西县| 汕尾市| 林州市| 南昌市| 西贡区| 金塔县| 常德市| 巴林右旗| 西和县| 扎赉特旗| 衡阳市| 西充县| 深州市| 招远市| 泸西县| 长海县| 邵阳市| 长顺县| 大港区| 云和县| 哈巴河县| 喀喇| 额济纳旗| 朝阳县|