CompuServe Messages

#Ansi Codes from 'C'

    01-Sep-90 21:16:30
Fm: Michael Haynie 72017,1030
To: Rejean Gravel 73617,604
The sequence \0x9b0 defines a 12bit integer; a character is only 8 bits, which explains the error. Your compiler is giving you grief. I presume that you are trying to send the console device control sequences. One possibility is to embed char 9B in the source file at the right point (with the obvious problem that the char will look funny, and you won't be able to tell what it is). A second possibility would be to change your string to look like this: "%c0;33…" supplying \0x9B for the %c arg. A third possibility would be to use putchar() to send the \0x9b, followed by the rest of the information.