home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_10_03 / 1003032c < prev    next >
Text File  |  1992-01-23  |  620b  |  34 lines

  1.   
  2. EXAMPLE 3 :
  3.  
  4. /****************************************************
  5. * Shows two class 1 specific methods, class_1_display 
  6. * and class_1_process_data, defined in the class_1 
  7. * module.  It also shows an object specific method, 
  8. * object_a_init, defined in the object module,
  9. * test_a.c
  10. *
  11. * This code is compiled to ROM.
  12. ****************************************************/
  13.  
  14. file class_1.c
  15.  
  16. void class_1_display(float *results)
  17. {
  18.   -- code --
  19. }
  20.  
  21. void class_1_process_data(float *parameters, float *results) 
  22. {
  23.   -- code --
  24. }
  25.  
  26.  
  27. file test_a.c
  28.  
  29. void object_a_init(void)
  30. {
  31.   -- code --
  32. }
  33.  
  34.