◐ Shell
clean mode source ↗

Null-terminated byte strings – cppreference.com

<metanoindex/>

Ein null-terminierte Byte-String (NTB) ist eine Folge von null Byte von einem Byte mit dem Wert Null (das abschließende Nullzeichen) gefolgt. Jedes Byte in einem Byte-String kodiert ein Charakter einiger Zeichensatz. Zum Beispiel, das Zeichenarray {'\x63','\x61','\x74','\0'} ist ein NTBs die String "cat" in ASCII-Codierung .

Original:

A null-terminated byte string (NTBS) is a sequence of nonzero bytes followed by a byte with value zero (the terminating null character). Each byte in a byte string encodes one character of some character set. For example, the character array {'\x63','\x61','\x74','\0'} is an NTBS holding the string "cat" in ASCII encoding.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Funktionen

Buchstaben-Klassifikation

Original:

Character classification

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

definiert in Header <ctype.h>

prüft, ob ein Zeichen alphanumerisch ist

Original:

checks if a character is alphanumeric

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

prüft, ob ein Zeichen des Alphabets ist

Original:

checks if a character is alphabetic

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

prüft, ob ein Zeichen kleingeschrieben ist

Original:

checks if a character is lowercase

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

prüft, ob ein Zeichen ist ein Großbuchstabe

Original:

checks if a character is an uppercase character

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

prüft, ob ein Zeichen eine Ziffer ist

Original:

checks if a character is a digit

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

prüft, ob ein Zeichen eine hexadezimale Zeichen

Original:

checks if a character is a hexadecimal character

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

prüft, ob ein Zeichen ein Steuerzeichen ist

Original:

checks if a character is a control character

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

prüft, ob ein Zeichen ist eine grafische Charakter

Original:

checks if a character is a graphical character

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

prüft, ob ein Zeichen ein Leerzeichen

Original:

checks if a character is a space character

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

prüft, ob ein Zeichen ein Leerzeichen ist

Original:

checks if a character is a blank character

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

prüft, ob ein Zeichen ein druckbares Zeichen

Original:

checks if a character is a printing character

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

prüft, ob ein Charakter ist ein Satzzeichen

Original:

checks if a character is a punctuation character

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

Character Manipulation

Original:

Character manipulation

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

wandelt ein Zeichen in Kleinbuchstaben

Original:

converts a character to lowercase

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

wandelt ein Zeichen in Großbuchstaben

Original:

converts a character to uppercase

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]
ASCII values
(hex)
characters

iscntrl
iswcntrl

isprint
iswprint

isspace
iswspace

isblank
iswblank

isgraph
iswgraph

ispunct
iswpunct

isalnum
iswalnum

isalpha
iswalpha

isupper
iswupper

islower
iswlower

isdigit
iswdigit

isxdigit
iswxdigit

0 - 8 0x00-0x08 control codes (NUL, etc.) ≠0 0 0 0 0 0 0 0 0 0 0 0
9 0x09 tab (\t) ≠0 0 ≠0 ≠0 0 0 0 0 0 0 0 0
10 - 13 0x0A-0x0D whitespaces (\n,\v,\f,\r) ≠0 0 ≠0 0 0 0 0 0 0 0 0 0
14 - 31 0x0E-0x1F control codes ≠0 0 0 0 0 0 0 0 0 0 0 0
32 0x20 space 0 ≠0 ≠0 ≠0 0 0 0 0 0 0 0 0
33 - 47 0x21-0x2F !"#$%&'()*+,-./ 0 ≠0 0 0 ≠0 ≠0 0 0 0 0 0 0
48 - 57 0x30-0x39 0123456789 0 ≠0 0 0 ≠0 0 ≠0 0 0 0 ≠0 ≠0
58 - 64 0x3a-0x40 :;<=>?@ 0 ≠0 0 0 ≠0 ≠0 0 0 0 0 0 0
65 - 70 0x41-0x46 ABCDEF 0 ≠0 0 0 ≠0 0 ≠0 ≠0 ≠0 0 0 ≠0
71 - 90 0x47-0x5A GHIJKLMNOPQRSTUVWXYZ 0 ≠0 0 0 ≠0 0 ≠0 ≠0 ≠0 0 0 0
91 - 96 0x5B-0x60 [\]^_` 0 ≠0 0 0 ≠0 ≠0 0 0 0 0 0 0
97 -102 0x61-0x66 abcdef 0 ≠0 0 0 ≠0 0 ≠0 ≠0 0 ≠0 0 ≠0
103-122 0x67-0x7A ghijklmnopqrstuvwxyz 0 ≠0 0 0 ≠0 0 ≠0 ≠0 0 ≠0 0 0
123-126 0x7B-0x7E {|}~ 0 ≠0 0 0 ≠0 ≠0 0 0 0 0 0 0
127 0x7F backspace character (DEL) ≠0 0 0 0 0 0 0 0 0 0 0 0

Umwandlungen in numerische Formate

Original:

Conversions to numeric formats

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

definiert in Header <stdlib.h>

wandelt ein Byte String in eine Gleitkommazahl

Original:

converts a byte string to a floating point value

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

wandelt ein Byte-String in einen ganzzahligen Wert

Original:

converts a byte string to an integer value

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

wandelt ein Byte-String in einen ganzzahligen Wert

Original:

converts a byte string to an integer value

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

wandelt ein Byte-String in einen vorzeichenlosen Integer-Wert

Original:

converts a byte string to an unsigned integer value

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

wandelt ein Byte String in eine Gleitkommazahl

Original:

converts a byte string to a floating point value

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

definiert in Header <inttypes.h>

wandelt ein Byte String intmax_t oder intmax_t

Original:

converts a byte string to intmax_t or intmax_t

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

String-Manipulation

Original:

String manipulation

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

definiert in Header <string.h>

kopiert eine Zeichenkette in eine andere

Original:

copies one string to another

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

kopiert eine bestimmte Menge von Zeichen aus einer Zeichenkette zu einem anderen

Original:

copies a certain amount of characters from one string to another

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

verkettet zwei Strings

Original:

concatenates two strings

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

verkettet eine bestimmte Menge von Zeichen aus zwei Strängen

Original:

concatenates a certain amount of characters of two strings

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

wandelt eine Zeichenkette, so dass es von String-Vergleich-Funktionen verwendet werden können

Original:

converts a substring so that it can be used by string comparison functions

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

String Prüfung

Original:

String examination

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

definiert in Header <string.h>

gibt die Länge eines bestimmten Strings

Original:

returns the length of a given string

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

vergleicht zwei Strings

Original:

compares two strings

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

vergleicht eine bestimmte Anzahl von Zeichen von zwei Zeichenfolgen

Original:

compares a certain amount of characters of two strings

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

vergleicht zwei Strings in Übereinstimmung mit dem aktuellen Gebietsschema

Original:

compares two strings in accordance to the current locale

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

findet das erste Vorkommen eines Zeichens

Original:

finds the first occurrence of a character

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

wird das letzte Vorkommen eines Zeichens

Original:

finds the last occurrence of a character

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

gibt die Länge der maximalen ersten Segment,
nur die Charaktere in einem anderen Byte-String gefunden besteht

Original:

returns the length of the maximum initial segment that consists
of only the characters found in another byte string

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

gibt die Länge der maximalen ersten Segment,
nur die Charaktere nicht in einem anderen Byte-String gefunden besteht

Original:

returns the length of the maximum initial segment that consists
of only the characters not found in another byte string

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

findet die erste Stelle eines beliebigen Zeichens in einer Zeichenkette, in einer anderen Zeichenkette

Original:

finds the first location of any character in one string, in another string

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

findet das erste Vorkommen eines Teilstrings von Zeichen

Original:

finds the first occurrence of a substring of characters

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

findet das nächste Token in einem Byte-String

Original:

finds the next token in a byte string

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

Character Array-Manipulation

Original:

Character array manipulation

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

definiert in Header <string.h>

durchsucht eine Anordnung für das erste Auftreten eines Zeichens

Original:

searches an array for the first occurrence of a character

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

vergleicht zwei Puffer

Original:

compares two buffers

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

füllt einen Puffer mit einem Charakter

Original:

fills a buffer with a character

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

einen Puffer kopiert zu einem anderen

Original:

copies one buffer to another

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

bewegt sich ein Puffer zu einem anderen

Original:

moves one buffer to another

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

Verschiedenes

Original:

Miscellaneous

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

definiert in Header <string.h>

gibt einen Text-Version eines bestimmten Fehlercode

Original:

returns a text version of a given error code

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]