| Liste des Groupes | Revenir à l c |
Richard Harnden <richard.harnden@gmail.invalid> writes:
>On 22/05/2025 23:32, Keith Thompson wrote:>
>"Paul Edwards" <mutazilah@gmail.com> writes:>
>[...]>
In one of your library's headers:
extern const char ESCAPE;
In the corresponding *.c file:
const char ESCAPE = ('z' - 'a' == 25 ? '\x1b' : '\x27');
Change the name if you prefer.
Wouldn't that be a reserved identifier?
Yes, it would. Good catch.
>
(Identifiers starting with E followed by either a digit or an uppercase
letter are reserved; they could be defined as macros in <errno.h>.)
Les messages affichés proviennent d'usenet.