Files correlati : Ricompilazione Demo : [ ] Commento : MOdificati programmi non ancora utilizzati git-svn-id: svn://10.65.10.50/trunk@10936 c028cbd2-c16b-5b4b-a496-9718f37d4682
		
			
				
	
	
		
			26 lines
		
	
	
		
			473 B
		
	
	
	
		
			C++
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			473 B
		
	
	
	
		
			C++
		
	
	
		
			Executable File
		
	
	
	
	
| //AB2.CPP: Menù principale
 | |
| 
 | |
| #include <xvt.h>
 | |
| #include <checks.h>
 | |
| #include "ab2.h"    //nome delle applicazione
 | |
| 
 | |
| #define usage   "Error - usage : %s -{0|1|2|3|4|5}"
 | |
| 
 | |
| int main(int argc,char **argv)
 | |
| {
 | |
|   int n = (argc > 1) ? atoi(argv[1]+1) : -1;
 | |
| 
 | |
|   switch (n)
 | |
|   {
 | |
|   case 0:
 | |
|     ab2100(argc,argv); break; //Trasferimento e Ricezione
 | |
| //  case 1:
 | |
| //      ab2200(argc,argv); break; //Scarico archivi
 | |
|   default:   
 | |
|     error_box(usage, argv[0]) ;
 | |
|   }
 | |
| 	exit(0);
 | |
|  
 | |
| }               
 | |
| 
 |