home *** CD-ROM | disk | FTP | other *** search
/ C!T ROM 2 / ctrom_ii_b.zip / ctrom_ii_b / PROGRAM / C / MBLIB10 / C_EXAMP / MSGCOUNT.C < prev    next >
Text File  |  1993-03-07  |  225b  |  11 lines

  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include "mb_lib.h"
  4.  
  5. void main (void) {
  6.   if (msg_open ("C:\\MSGBASE"))
  7.     exit (1);
  8.   msg_read_info ();
  9.   printf ("Number of messages in base: %u\n", msginfo.total_msgs);
  10. }
  11.