trigraphs in X3J11
Karl Heuer
karl at haddock.ISC.COM
Fri Jun 3 15:44:19 AEST 1988
In article <343 at pyuxf.UUCP> boby at pyuxf.UUCP (robert yaeger) writes:
>Well just to let you know, trigraphs are indeed needed in the good ol' USA.
>Try writing MVS/c programs using a 3270! Fortunately, the only trigraphs
>needed are the ??( and ??) ( ie., [ and ] ).
And what, pray tell, do you see on your terminal if you run the program
#include <stdio.h>
main() { printf("??(??)\n"); }
>The practice we've adopted is to code trigraphs only when declaring arrays.
>All references to these arrays in the code use ptr arithmetic.
I once wrote a program using a certain style because it happened to look
better on the one printer that was then available. I soon regretted that
decision.
Karl W. Z. Heuer (ima!haddock!karl or karl at haddock.isc.com), The Walking Lint
More information about the Comp.lang.c
mailing list