home *** CD-ROM | disk | FTP | other *** search
- main() /* dosdate.c -- tests various formats for date */
- {
- char ac[80];
- int format, n;
- char *acpoint;
-
-
- for(n = 1; n < 8; n++){
- format = n;
- dosdate(ac, format);
- puts(ac);
-
- }
- acpoint = dosdate(ac, 0);
- printf("\nBCD returned string is: %s", acpoint);
- }