home *** CD-ROM | disk | FTP | other *** search
/ Dave Lowe: The Developer …nd Blaster Series Disk 1 / Lowe_TheDeveloperKitForSoundBlasterSeriesDisk1.img / C / MSC / GENERAL / SBKVER.C < prev   
Encoding:
C/C++ Source or Header  |  1991-11-07  |  1.8 KB  |  32 lines

  1. /* ------------------------------------------------------------------------ */
  2. /*  @@ Source Documentation                           *** MSC Version ***   */
  3. /*                                                                          */
  4. /*  Copyright (c) Creative Technology Pte Ltd, 1991. All rights reserved.   */
  5. /*                                                                          */
  6. /*   TITLE       : SBKVER.C                                                 */
  7. /*                                                                          */
  8. /*   DESCRIPTION :                                                          */
  9. /*       This program helps to show your Sound Blaster Developer Kit        */
  10. /*       version number.                                                    */
  11. /*                                                                          */
  12. /*       To check your library version compile this program with following  */
  13. /*       command:                                                           */
  14. /*                                                                          */
  15. /*            CL /Ax sbkver.c /link SBCxR                                   */
  16. /*                                                                          */
  17. /*       where 'x' can be replaced with one of following characters S, C,   */
  18. /*       M and L.                                                           */
  19. /*                                                                          */
  20. /* ------------------------------------------------------------------------ */
  21.  
  22.      extern char     near sbclib_version_major ;
  23.      extern char     near sbclib_version_minor ;
  24.  
  25. main()
  26. {
  27.      puts("Developer Kit for Sound Blaster Series") ;
  28.      puts("Microsoft C version\n") ;
  29.  
  30.      printf("Version: %d.%02d\n",sbclib_version_major,sbclib_version_minor) ;
  31. }
  32.