Space, tab, line feed (newline), carriage return, form feed, and vertical tab characters are called "white-space characters" because they serve the same purpose as the spaces between words and lines on a printed page — they make reading easier. In C++, isspace is a predefined function used for string and character handling.cstring is the header file required for string functions and cctype is the headerfile required for character functions. 0x0020 SPACE. If a file is saved as 'Foo.txt ', where the trailing character(s) is an alternate whitespace character, such as the Ideographic Space (0x3000), it will be saved to the file system as 'Foo.txt '. 0x2006 SIX-PER-EM SPACE… The C library function int isspace (char c) checks whether the passed character is white-space. There are many types of whitespace characters in c++ such as- Standard white-space characters are − ' ' (0x20) space (SPC) '\t' (0x09) horizontal tab (TAB) '\n' (0x0a) newline (LF) '\v' (0x0b) vertical tab (VT) '\f' (0x0c) feed (FF) '\r' (0x0d) carriage return (CR) For a detailed chart on what the different ctype functions return for each character of the standard ASCII character set, see the reference for the header. Empty characters, blank characters, invisible characters and whitespace characters. Tokens are delimited (bounded) by white-space characters and by other tokens, such as operators and punctuation. When rendered, a whitespace character does not correspond to a visible mark, but typically does occupy an area on a page. 0x2005 FOUR-PER-EM SPACE. 0x2000 EN QUAD. What is white space? In computer programming, whitespace is any character or series of characters that represent horizontal or vertical space in typography. They can be used if you want to represent an empty space without using space. Whitespace characters denote the empty space between all the characters you can actually see.They have width (height if you’re writing vertically), some special rules, and not much else. 0x2002 EN SPACE. The most common whitespace character, is the word space The one you get when you press the space bar. They look like a space, but are in fact a different (unicode) character. 0x2001 EM QUAD. Other locales may consider a different selection of characters as white-spaces, but never a character that returns true for isalnum. In C++, a locale-specific template version of this function exists in header . 0x00A0 NO-BREAK SPACE. Let's say you want to use an empty value in a website or application, but spaces are not accepted. Although the Ideographic Space character (0x3000) is also generated by using the Spacebar (when IME is enabled), it is not handled specially. 0x2003 EM SPACE . 0x1680 OGHAM SPACE MARK. 0x180E MONGOLIAN VOWEL SEPARATOR. The trailing whitespace characters are not removed.File and Folder names that begin or end with a whitespace character are enumerated differently by the Win32 and WinRT APIs due to ecosystem requirements. 0x2004 THREE-PER-EM SPACE. This function is used to check if the argument contains any whitespace characters.