ylbtech- document editing - placeholders: Wikipedia |
1. Back to top |
1、
As the name suggests, the placeholder is the first to occupy a fixed position, waiting to sign you then entered, add content, widely used in various types of computer editing documents.
- Chinese name: placeholder
- English name: Placeholder
- Definitions: first to occupy a fixed position
- Properties: Format placeholder
- Application: for all types of document editing
table of Contents
application
To
slide
on, on the performance of a virtual box, virtual inside box often prompt "Click to add title" and the like, once a mouse click, the prompt will disappear automatically. When we want to create your own templates, placeholders it is very important, it can play a role in planning the slide structure. For
document publishing
aspects, that is, when you decide to put a picture or something else layout in one place when you have a variety of options and sometimes can not decide, you can first put a
picture placeholder
set the width and height until you later decide to have an image come into need.
Further placeholders
are also used in adjusting the layout position of each part on the website, such as placeholders you can set high one pixel length can be empty distance you need to be provided as necessary, but also on the page you do not see a placeholder. Also you can set the width of a pixel and a height you need to empty out the vertical distance between the portion and the portion you need.
Placeholder argument is also used for
document editing
elsewhere, such as project and so on.
Format placeholder
Placeholder format (%) is the input format in C / C ++ language functions, such as scanf, printf, etc. used in the function. Its meaning is to play format occupying the meaning expressed in the input or output position.
Format Character Description
% D,% i, represent an integer,% f- floating point,% s, string,% c, char.% P pointer,% fL long long,% e scientific notation,% g decimal or scientific notation.
C language format placeholders:
% A,% A reads a floating point value (valid only C99)
% C reads a character
% D reads a decimal integer
% i read in decimal,
octal
, hexadecimal integer
% O octal integer read
% X,% X reads hexadecimal integer
% s in a string, the case of spaces,
tabs
, or the end of the line feed.
% F,% F,% e,% E,% g,% G for inputting a real number, can be entered in decimal or exponential notation.
% p a read
pointer
% U read an unsigned decimal integer
% n equivalence point value has been read
character
number
% [] Set of characters scanned
%%% sign reading
Example O
scanf ( "% d,% d,% d", & a, & b, & c); // input from the keyboard three integers, separated by commas.
Common examples:
scanf ( "% c", & s); // input a character from the keyboard
scanf ( "% f", & f); // a floating-point input data from the keyboard
printf ( "% d \ n", a); // output an integer
printf ( "% f \ n", b); // output a floating point
printf ( "% s \ n", c); // output where a character \ n newline
2、
2. Return to top |
3. Back to top |
4. Top |
5. Top |
1、
2、
6. Back to top |
Author: ylbtech Source: http://ylbtech.cnblogs.com/ This article belongs to the author and blog Park total, welcome to reprint, but without the author's consent declared by this section must be retained, and given the original connection in the apparent position of the article page, otherwise We reserve the right to pursue legal responsibilities. |