Current location - Recipe Complete Network - Complete cookbook of home-style dishes - What is the meaning of \t in c++ and how to use it?
What is the meaning of \t in c++ and how to use it?
\t in c++ means horizontal Tabulation (jump to the next tab position), which is equivalent to the effect of pressing the following tab key when typing. It is used when data needs to be output neatly. The default value between each data is 8 characters.

Extended data:

The function of tabs (also known as tab stops) is to vertically align text by column without using a table. Common applications are list, simple list and so on. It can also be used to make the header and footer equal to one line, with several alignment positions.

Tab key is the abbreviation of Tabulator, so we can see that its original purpose is to draw tables, to be precise, to draw tables without lines-because early computers used keyboards to control the alignment of characters, unlike the current graphical interface, so that all columns can be aligned conveniently.

You need to use this key frequently when making tables, which is also the origin of its name.

Label function

1. Move in the dialog box.

2. Move in the theme pane.

3. Move in the navigation pane.

4. Move in documents and program windows.

5. Go to the first or next hyperlink.

6.? Tab? Keys or? Shift+Tab? Press the key combination (after the toolbar is activated) to select the next or previous button or menu in the toolbar.

7.? Shift+Tab? Key combination goes to the last or previous hyperlink.

8.? Shift+Tab? Key combination moves to the previous option or option group.

9.? Ctrl+Tab? Combination keys or? Ctrl+Shift+Tab? Press the key combination to select the next or previous toolbar.

10.? Ctrl+Tab? Combination keys or? Ctrl+Page Down? Key combination switches to the next tab in the dialog box.