delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/06/18:19:58

From: mert0407 AT sable DOT ox DOT ac DOT uk (George Foot)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Rhide and OMEGA
Date: 6 Jun 1997 11:15:54 GMT
Organization: Oxford University, England
Message-ID: <5n8rha$ruk@news.ox.ac.uk>
References: <199706030946 DOT MAA25672 AT andromeda DOT delta DOT edu DOT gr>
NNTP-Posting-Host: sable.ox.ac.uk
Lines: 19
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Kappas Ioannis (giannisk AT delta DOT edu DOT gr) wrote:
: Why when I press the Greek character Omega (ascii 224) in Rhide does not appear
: on the screen? Can anybody help me please?

Robert Hoehne posted the reason for this; can I point out that for now you
could escape it in character or string constants:

printf("Character 224: \224\n");

This is not a special feature of printf; it works in any string constant
by inserting the specified character number.

Incidentally, does anyone know how to follow the above character with a
number? An obvious hack is to write the number as an ASCII code as well,
but this is a bit unpleasant.

-- 
George Foot <mert0407 AT sable DOT ox DOT ac DOT uk>
Merton College, Oxford

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019