24 lines
		
	
	
		
			354 B
		
	
	
	
		
			C++
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			354 B
		
	
	
	
		
			C++
		
	
	
		
			Executable File
		
	
	
	
	
| #include <xvt.h>
 | |
| #include <stdlib.h>
 | |
| #include <checks.h>
 | |
| 
 | |
| #include "sc2.h"  
 | |
| 
 | |
| #define usage "Errore - uso : sc2 -{0|1}"
 | |
| 
 | |
| int main(int argc,char** argv)
 | |
| {
 | |
|   const int n = (argc > 1) ? (atoi(&argv[1][1])) : 0;
 | |
| 
 | |
|   switch(n)
 | |
|   {
 | |
|   case 0:
 | |
|     sc2100(argc,argv); break;
 | |
|   case 1:
 | |
| 	sc2200(argc,argv); break;
 | |
|   default: 
 | |
|     error_box(usage);
 | |
|   }
 | |
|   return 0;
 | |
| }
 |