Mit Null abschließende Zeichenketten

Aus cppreference.com
Wechseln zu: Navigation, Suche


Siehe auch Breite Null-Terminierte Zeichenketten

Inhaltsverzeichnis

[Bearbeiten] Functionen

[Bearbeiten] Zeichenmanipulation
isalnum prüft, ob das Zeichen alphanumerisch ist
isalpha prüft, ob das Zeichen alphabetisch ist
iscntrl prüft, ob das Zeichen ein Kontrollzeichen ist
isdigit checks if a character is a digit
isgraph checks if a character is a graphical character
islower checks if a character is lowercase
isprint checks if a character is a printing character
ispunct checks if a character is punctuation
isspace checks if a character is a space character
isupper checks if a character is an uppercase character
isxdigit checks if a character is a hexadecimal character
tolower converts a character to lowercase
toupper converts a character to uppercase
[Bearbeiten] Konvertierung in numerische Formate
atof converts a character string to a double
atoi, atol, atoll converts a character string to an integer
strtol, strtoll converts a character string to an integer value
strtoul, strtoull converts a character string to an unsigned integer value
strtof, strtod, strtold converts a character string to a floating point value
[Bearbeiten] Zeichenketten verändern
strcpy copies one string to another
strncpy copies a certain amount of characters from one string to another
strcat concatenates two strings
strncat concatenates a certain amount of characters of two strings
strxfrm converts a substring so that it can be used by string comparison functions
[Bearbeiten] Zeichenketten untersuchen
strchr finds the first occurrence of a character in a string
strcmp compares two strings
strncmp compares a certain amount of characters of two strings
strcoll compares two strings in accordance to the current locale
strcspn searches one string for any characters in another
strlen returns the length of a given string
strpbrk finds the first location of any character in one string, in another string
strrchr finds the last occurrence of a character in a string
strspn returns the length of a substring of characters of a character string
strstr finds the first occurrence of a substring of characters
strtok finds the next token in a character string
[Bearbeiten] Speicher manipulieren
memchr searches an array for the first occurrence of a character
memcmp compares two buffers
memset fills a buffer with a character
memcpy copies one buffer to another
memmove moves one buffer to another
[Bearbeiten] Verschiedenes
strerror returns a text version of a given error code
Meine Werkzeuge
Namensräume
Varianten
Aktionen
Navigation
Werkzeuge