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

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.
主站蜘蛛池模板: 吴堡县| 芦溪县| 西华县| 隆德县| 大同市| 乡宁县| 比如县| 中方县| 云阳县| 文昌市| 醴陵市| 武夷山市| 南康市| 修水县| 丰宁| 淮滨县| 哈密市| 南平市| 涿鹿县| 中山市| 灯塔市| 平塘县| 东平县| 墨竹工卡县| 邓州市| 麻阳| 临澧县| 汽车| 蓬安县| 广河县| 伊金霍洛旗| 衡水市| 定南县| 罗山县| 石台县| 无棣县| 潜江市| 凭祥市| 攀枝花市| 巴中市| 黑水县|