git-svn-id: svn://10.65.10.50/branches/R_10_00@23043 c028cbd2-c16b-5b4b-a496-9718f37d4682
		
			
				
	
	
		
			20 lines
		
	
	
		
			456 B
		
	
	
	
		
			C++
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			456 B
		
	
	
	
		
			C++
		
	
	
		
			Executable File
		
	
	
	
	
| #include <xvt.h>
 | |
| 
 | |
| // Modulo di gestione movimenti e saldi
 | |
| #include "mg1.h"
 | |
| 
 | |
| int main(int argc, char** argv)
 | |
| {
 | |
|   const int r = (argc > 1) ? argv[1][1]-'0' : 0;
 | |
| 
 | |
|   switch (r)
 | |
|   {
 | |
|   case  1: mg1200(argc,argv); break; // ricostruzione saldi
 | |
|   case  2: mg1300(argc,argv); break; // giacenze alla data
 | |
|   case  3: mg1400(argc,argv); break; // gestione aperture/chiusure
 | |
|   default: mg1100(argc,argv); break; // gestione interattiva movimenti 
 | |
|   }
 | |
|   
 | |
|   return 0;
 | |
| }
 |