Mail Archives: djgpp/1997/07/14/02:50:01
A. Sinan Unur (asu1 AT cornell DOT edu) wrote:
: Brian Barlow wrote:
: > =
: > I've just installed the DJGPP compiler and the following program won't
: > compile.
: > =
: > int main (void)
: > {
: > =
: > int c=3D0x50;
: > =
: > c =3D c=A60x04;
: > =
: > return 0;
: > =
: > }
: > =
: > test.c: In function `main':
: > test.c:7: parse error before character 0335
: > Does anyone know why this would be happnening. The 0335 character is
: > the | OR symbol.
: how did you enter that character? when i cut&paste your message into dos
: edit, i got a graphic character.
I can't say for sure, since this terminal doesn't display the character in
question, but sometimes under Windows 95 the pipe characters get muddled
up; it depends on the keyboard layout. In RHIDE, the correct | character
will be highlighted in a different colour (white I believe) from the
normal text colour (yellow IIRC). With my keyboard layout, shift-\ gives
the wrong character (although it's right on the keyboard) and AltGr-`
(left of the 1 key) gives the correct symbol. Try it and see. This is a UK
keyboard BTW. I think changing the codepage might help, too.
--
George Foot <mert0407 AT sable DOT ox DOT ac DOT uk>
Merton College, Oxford
- Raw text -