Can you be more specific. The code in the MSDN link I gave are definitely not C++ - it is pure ANSI C - it may not be simple, but it's ANSI (or at least very close to ANSI standard).
Code:
14/02/1996 11:57 4,569 ABOUT.C
24/05/1996 06:45 1,974 ABSTRACT.TXT
20/03/1996 15:47 4,885 ERROR.C
28/02/1996 11:55 17,078 INIT.C
29/05/1996 10:26 1,484 MAKEFILE
20/03/1996 15:24 28,974 MTTTY.C
24/05/1996 08:24 6,101 MTTTY.H
13/11/1995 16:40 1,398 MTTTY.ICO
29/05/1996 09:20 9,559 MTTTY.MAK
20/03/1996 15:21 16,719 MTTTY.RC
14/11/1995 08:37 1,398 MTTTY2.ICO
14/11/1995 08:37 1,398 MTTTY3.ICO
14/11/1995 08:37 1,398 MTTTY4.ICO
14/02/1996 12:10 6,118 READER.C
28/02/1996 11:55 9,064 READSTAT.C
19/03/1996 17:34 4,961 RESOURCE.H
29/05/1996 09:38 44,077 SETTINGS.C
29/05/1996 09:36 22,566 STATUS.C
24/05/1996 08:31 27,648 TRANSFER.C
28/02/1996 11:55 4,636 TTYINFO.H
24/05/1996 08:25 27,704 WRITER.C
That's the files in the MTTTY example in the link - not a .cpp in sight.
--
Mats