Files correlati : Ricompilazione Demo : [ ] Commento : Prima versione delle stampe ordini: stampa per numero/data, per cli/fo, per agente, per Articolo git-svn-id: svn://10.65.10.50/trunk@6780 c028cbd2-c16b-5b4b-a496-9718f37d4682
		
			
				
	
	
		
			27 lines
		
	
	
		
			510 B
		
	
	
	
		
			C++
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			510 B
		
	
	
	
		
			C++
		
	
	
		
			Executable File
		
	
	
	
	
#include <xvt.h>
 | 
						|
#include <checks.h>
 | 
						|
 | 
						|
#include "or1.h"
 | 
						|
 | 
						|
const char* const usage = "Errore - uso : %s -{0|1|2}";
 | 
						|
 | 
						|
int main(int argc,char** argv)
 | 
						|
{
 | 
						|
  const int n = argc > 1 ? atoi(argv[1]+1) : -1;
 | 
						|
 | 
						|
  switch (n)
 | 
						|
  {
 | 
						|
  case 0:
 | 
						|
    or1100(argc,argv); break; // stampe ordini
 | 
						|
  case 1:
 | 
						|
    or1200(argc,argv); break; // stampa dettaglio disponibilita' articoli
 | 
						|
  case 2:
 | 
						|
    or1300(argc,argv); break; // stampa statistiche sui tempi di consegna
 | 
						|
  default:
 | 
						|
    error_box(usage, argv[0]);
 | 
						|
  }
 | 
						|
  exit(0);
 | 
						|
  return 0;
 | 
						|
}
 | 
						|
 |