String.h

String.h

string.h is the header in the C standard library for the C programming language which contains macro definitions, constants, and declarations of functions and types used not only for string handling but also various memory handling functions; the name is thus something of a misnomer.

Functions declared in string.h are extremely popular, since as a part of the C standard library, they are guaranteed to work on any platform which supports C. However, some security issues exist with these functions, such as buffer overflows, leading programmers to prefer safer, possibly less portable variants. Also, the string functions only work with ASCII or character sets that extend ASCII in a compatible manner such as ISO-8859-1; multibyte ASCII-compatible character sets such as UTF-8 will work with the caveat that string "length" is to be interpreted as the count of bytes in the string rather than the count of Unicode characters. Non-ASCII compatible string handling is generally achieved through wchar.h.

Constants and types

External links

*


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • String — (str[i^]ng), n. [OE. string, streng, AS. streng; akin to D. streng, G. strang, Icel. strengr, Sw. str[ a]ng, Dan. str[ae]ng; probably from the adj., E. strong (see {Strong}); or perhaps originally meaning, twisted, and akin to E. strangle.] 1. A… …   The Collaborative International Dictionary of English

  • string — [striŋ] n. [ME streng < OE, akin to Ger strang: see STRONG] 1. a) a thin line of twisted fiber used for tying, pulling, fastening, etc.; slender cord or thick thread b) a narrow strip of leather or cloth for fastening shoes, clothing, etc.;… …   English World dictionary

  • STRING — (Search Tool for the Retrieval of Interacting Genes/Proteins) ist eine Bioinformatik Datenbank, die einen umfassenden Überblick über direkte (physikalische) und indirekte (funktionelle) Zusammenhänge und Interaktionen zwischen Proteinen gibt. Sie …   Deutsch Wikipedia

  • string — ► NOUN 1) material consisting of threads twisted together to form a thin length. 2) a piece of such material. 3) a length of catgut or wire on a musical instrument, producing a note by vibration. 4) (strings) the stringed instruments in an… …   English terms dictionary

  • string — [ striŋ ] n. m. • 1977; mot angl. « ficelle » ♦ Anglic. Maillot de bain ou slip très petit, assemblé par des liens, laissant les fesses nues. ⇒ cache sexe. ● string nom masculin (anglais string, corde) Cache sexe qui laisse les fesses nues.… …   Encyclopédie Universelle

  • String — (str[i^]ng), v. t. [imp. {Strung} (str[u^]ng); p. p. {Strung} (R. {Stringed} (str[i^]ngd)); p. pr. & vb. n. {Stringing}.] 1. To furnish with strings; as, to string a violin. [1913 Webster] Has not wise nature strung the legs and feet With firmest …   The Collaborative International Dictionary of English

  • String.h — Demande de traduction string.h → …   Wikipédia en Français

  • String — (engl. string „Schnur“, „Strang“, „Saite“, „Kette“) steht für: Zeichenkette (Informatik); das fundamentale Objekt der Stringtheorie (Physik); kosmischer String, hypothetischer Raumdefekt; String (Kleidung), sehr knappe Höschenform. Die Abkürzung… …   Deutsch Wikipedia

  • String.h — Стандартная библиотека языка программирования С assert.h complex.h ctype.h errno.h fenv.h float.h inttypes.h iso646.h limits.h locale.h math.h setjmp.h signal.h stdarg.h stdbool.h stddef.h stdint.h stdio.h stdlib.h …   Википедия

  • String.h — Saltar a navegación, búsqueda string.h es un archivo de la Biblioteca estándar del lenguaje de programación C que contiene la definición de macros, constantes, funciones y tipos de utilidad para trabajar con cadenas de caracteres y algunas… …   Wikipedia Español

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”