Commune · Savoirs
Null-terminated string
Character string terminated by the null byte (0x00); used in e.g. the C programming language
In computer programming, a null-terminated string is a character string stored as an array containing the characters and terminated with a null character (a character with an internal value of zero, called "NUL" in this article, not same as the glyph zero). Alternative names are C string, which refers to the C programming language and ASCIIZ (although C can use encodings other than ASCII).
Sur Wikipédia
Traduit automatiquement depuis l'article en anglais
En programmation informatique, une chaîne de caractères terminée par un zéro (null-terminated string) est une chaîne de caractères stockée sous forme d'un tableau contenant les caractères, suivi d'un caractère nul (un caractère dont la valeur interne est zéro, appelé « NUL » dans cet article, à ne pas confondre avec le glyphe zéro). Les noms alternatifs sont chaîne C, qui fait référence au langage de programmation C, et ASCIIZ (bien que C puisse utiliser des encodages autres que l'ASCII). La longueur d'une chaîne est déterminée en recherchant le premier NUL.
Texte : Wikipédia en anglais, traduction automatique, CC BY-SA 4.0. ·