-qdigraph

Category

Language element control

Pragma equivalent

#pragma options [no]digraph

Purpose

Enables recognition of digraph key combinations C++ onlyand operator keywordsC++ only to represent characters that are not found on some keyboards. Digraph key combinations include <:, <%, and so on. C++ onlyOperator keywords include and, or, and so on.C++ only

Syntax

Read syntax diagramSkip visual syntax diagram
        .-digraph---.   
>>- -q--+-nodigraph-+------------------------------------------><

Defaults

Usage

A digraph is a keyword or combination of keys that lets you produce a character that is not available on some keyboards. For details on digraphs, see Digraph characters .

Predefined macros

__DIGRAPHS__ is predefined to 1 when -qdigraph is in effect; otherwise it is not defined.

Examples

To disable digraph character sequences when compiling your program, enter:

xlc myprogram.c -qnodigraph

Related information