home *** CD-ROM | disk | FTP | other *** search
/ ftp.disi.unige.it / 2015-02-11.ftp.disi.unige.it.tar / ftp.disi.unige.it / pub / .person / CataniaB / teach-act / esempi / Comp-Sep / main1.c < prev    next >
C/C++ Source or Header  |  1997-04-19  |  152b  |  15 lines

  1. #include<stdio.h>
  2. #include "point.h"
  3.  
  4. main()
  5. {
  6.  
  7.  Point P;
  8.  
  9.  init(&P);
  10.  setX(6.9,&P);
  11.  move(1,1,&P); 
  12.  printf(" point x %f y %f",getX(&P),getY(&P)); 
  13.  
  14. }
  15.