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

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.
主站蜘蛛池模板: 美姑县| 乐至县| 通化市| 东平县| 洛扎县| 彩票| 宜黄县| 琼海市| 彩票| 鄯善县| 娄烦县| 湘潭市| 肇州县| 修水县| 新巴尔虎左旗| 新野县| 东山县| 观塘区| 清水县| 基隆市| 志丹县| 洛浦县| 方城县| 汕头市| 双流县| 喀什市| 张家界市| 凤阳县| 东港市| 中阳县| 刚察县| 怀宁县| 萍乡市| 宁晋县| 越西县| 汤原县| 磐安县| 崇信县| 东山县| 玉树县| 虹口区|