iso646.h

iso646.h


L'en-tête iso646.h fait partie de la bibliothèque standard de C. Il a été ajouté à la biblitohèque par un amendement de la norme ANSI C90. Il définit un certain nombre de macros qui permettent au programmeur d'utiliser le language C au niveau du bit de des opérateurs logiques qui, sans l'en-tête, ne peuvent pas être tapés rapidement sur certains claviers internationaux ou non-QWERTY.

Le nom du fichier fait référence à la norme ISO646, un caractère de 7-bit avec un nombre de variations régionales, lesquelles ont des caractères accentués à la place de la ponctuation utilisée par les opérateurs du langage C.

Les macros

L'en-tête iso646.h définit les 11 macros suivantes :

Macro Définit comme
and &&
and_eq &=
bitand &
bitor |
compl ~
not !
not_eq !=
or ||
or_eq |=
xor ^
xor_eq ^=

C++

Ces identifiants sont des opérateurs directement implémentés dans le langage C++ et ne nécessitent donc pas l'inclusion de l'en-tête. Par souci de cohérence, la norme C++98 met l'en-tête <ciso646> à disposition des utilisateurs. Cependant, étant vide, ce dernier n'a aucun effet, sinon éviter une éventuelle eereur de compilation[1].

Références

  1. (en) Ray Lischner, C++ in a Nutshell, Péking, O'Reilly Media, 2003, 1re éd., poche (ISBN 978-0-596-00298-5) (LCCN 2004300905), p. 212 

Wikimedia Foundation. 2010.

Contenu soumis à la licence CC-BY-SA. Source : Article iso646.h de Wikipédia en français (auteurs)

Игры ⚽ Нужно сделать НИР?

Regardez d'autres dictionnaires:

  • Iso646.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 …   Википедия

  • iso646.h — C Standard Library Data types Character classification Strings Mathematics File input/output Date/time Localization …   Wikipedia

  • Iso646.h — The iso646.h header file is part of the C standard library. It was added to this library in a 1995 amendment to the C90 standard. It defines a number of macros which allow programmers to use C language bitwise and logical operators, which,… …   Wikipedia

  • iso646.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 …   Википедия

  • ISO646 — entspricht IA5 T.50 (siehe http://czyborra.com/charsets/iso646.html) …   Acronyms

  • ISO646 — entspricht IA5 T.50 (siehe http://czyborra.com/charsets/iso646.html) …   Acronyms von A bis Z

  • ISO/IEC 646 — This article is about a character encoding standard. For the ISO C header file, see iso646.h. ISO/IEC 646:1991, Information technology ISO 7 bit coded character set for information interchange, is an ISO standard that since its first edition in… …   Wikipedia

  • C standard library — The C Standard Library consists of a set of sections of the ANSI C standard in the programming language C. They describe a collection of headers and library routines used to implement common operations such as input/output[1] and string handling …   Wikipedia

  • Standard C Library — Die Standard C Library ist eine genormte Funktionsbibliothek für die Programmiersprache C, die etwa 200 häufig benötigte Funktionen für Ein und Ausgabe, mathematische Operationen, Verarbeitung von Zeichenketten, Speicherverwaltung und andere… …   Deutsch Wikipedia

  • Стандартная библиотека языка Си — Стандартная библиотека языка программирования С 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 …   Википедия

Share the article and excerpts

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