iswctype Function in C++ STL

Sunidhi Bansal
Updated on 30-Jan-2020 09:50:37

99 Views

In C++ standard template libraray(STL), iswctype() function is used to check if the given wide character has property specified by desc.Iswctype() is an in built function whose header file is “ctype.h”.Syntax of Iswctype() is as followsint iswctype(wint_t c, wctype_t desc); iswctype () / Checks whether whether c has the property specified by desc. /Synopsisint iswctype(wint_t c, wctype_t desc);ParametersC − To check the wide characters which are casted to the integral type wint_tDesc − It is a value which is returned by the call to wctype, which is a scalar type which is used as return type for wctype(Wide character type).Return ... Read More

iswdigit Function in C++ STL

Sunidhi Bansal
Updated on 30-Jan-2020 09:44:13

156 Views

In C++ STL, iswdigit() function is a built-in function that is used to check if the given wide character is a decimal digit character or some other character. This function is present in a cwctype header file in C/C++.What are the decimal digit characters?Decimal digit character are the numeric values that starts from 0 i.e. 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 .Syntax of iswcntrl() function is as followsint iswdigit() (wint_t c)Parameters − c is a wide character to be checked, casted to a wint_t, or WEOF where wint_t is an integral type.Return Value − A value ... Read More

Create Small Caps Effect for CSS

Abhinaya
Updated on 30-Jan-2020 09:25:02

521 Views

To create a small-caps effect, use the font-variant property.ExampleYou can try to run the following code to learn how to work with font-variant property in CSS:                            Asia, Antartica, Africa are continents          

Make a Font Italic with CSS

varma
Updated on 30-Jan-2020 09:24:23

363 Views

To make a font italic, use the font-style property. You can try to run the following code to learn how to work with the font-style property:Example                            This text is in italic style          

Usage of Background Attachment Property in CSS

vanithasree
Updated on 30-Jan-2020 09:23:52

73 Views

The background-attachment property is used to control the scrolling of an image in the background.ExampleYou can try to run the following code to learn how to work with the background-attachment property:                    body {             background-image: url('/css/images/css.jpg');             background-repeat: no-repeat;             background-attachment: fixed;          }                     The background-image is fixed. Try to scroll down the page.       The background-image is ... Read More

Change the Font Face with CSS

Govinda Sai
Updated on 30-Jan-2020 09:23:13

258 Views

To change the font face, use the font-family property.ExampleYou can try to run the following code to learn how to work with the font-family property:                            Demo content          

Usage of Background Property in CSS

Sreemaha
Updated on 30-Jan-2020 09:22:35

103 Views

The background property is used as a shorthand to specify the number of other background properties such as image, position, repeat, etc.                            This parapgraph has fixed repeated background image.          

Set the Font Style with CSS

radhakrishna
Updated on 30-Jan-2020 09:22:11

200 Views

To set the font style, use the font-style property. Set the font to italic, normal and oblique.ExampleYou can try to run the following code to set the font-style to italic with CSS:                            Europe, Australia, South America are continents.          

Set the Background Attachment with CSS

Ramu Prasad
Updated on 30-Jan-2020 09:21:35

104 Views

To set the background-attachment, use the background-attachment property. Background attachment determines whether a background image is fixed or scrolls with the rest of the page.ExampleYou can try to run the following code to learn how to work with the background-attachment property to set fixed background image:                    body {             background-image: url('/css/images/css.jpg');             background-repeat: no-repeat;             background-attachment: fixed;          }                     The ... Read More

Set Background Image Position with CSS

mkotla
Updated on 30-Jan-2020 09:20:57

563 Views

To set the background image position, use the background-position property. You can try to run the following code to learn how to work with the background-position property:ExampleIt sets the background image position 80 pixels away from the left side:                    body {             background-image: url("/css/images/css.jpg");             background-position:80px;          }                     Tutorials point    

Advertisements