mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2024-08-20 11:28:59 +00:00
16 lines
447 B
C++
16 lines
447 B
C++
/* Special Conformance Test 2.1.0.1: Verification of character set */
|
|
|
|
#include <stdio.h>
|
|
|
|
main ()
|
|
{
|
|
int c;
|
|
|
|
/* Read chars from keyboard; echo to a device. Tester must */
|
|
/* check correct output of characters. The test should be */
|
|
/* repeated 3 times, with output going to console, to printer */
|
|
/* and to a file. */
|
|
while ((c = getchar ()) != EOF)
|
|
putchar (c);
|
|
}
|