25 lines
		
	
	
		
			473 B
		
	
	
	
		
			C++
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			25 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]) ;
 | 
						|
  }
 | 
						|
  return 0;
 | 
						|
}               
 | 
						|
 |