home *** CD-ROM | disk | FTP | other *** search
- // Example: 092 from Library Reference
- #include "..\3D-Ware\dddware.h"
- #include <stdio.h>
- char far text[128]; // Make sure buffer is large enough for file to
- // load to.
- short main(void)
- {
- dddOpenReadClose("EXAMPLE.TXT",text); // Read in the text file.
- printf("\nText is :- %Fs\n",text); // Print the text. The format specifier if %Fs as
- // the string is accesed as a far pointer.
- return 0; // Bye.
- }
-
-