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

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.
主站蜘蛛池模板: 达尔| 长沙县| 南木林县| 上林县| 沙湾县| 绥化市| 民权县| 汝城县| 望都县| 新田县| 青冈县| 京山县| 洞口县| 宜川县| 阜南县| 麻栗坡县| 黑龙江省| 安庆市| 潍坊市| 临清市| 中山市| 南昌市| 会昌县| 十堰市| 凤阳县| 湖南省| 五河县| 定南县| 涟水县| 英山县| 宿松县| 清河县| 镇康县| 郯城县| 马鞍山市| 陵川县| 简阳市| 灌云县| 禄丰县| 阜新市| 永清县|