sc?.url Tolti menu inutili sc0100.* Derivata da TSkeleton_application git-svn-id: svn://10.65.10.50/trunk@5825 c028cbd2-c16b-5b4b-a496-9718f37d4682
		
			
				
	
	
		
			28 lines
		
	
	
		
			389 B
		
	
	
	
		
			C++
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			389 B
		
	
	
	
		
			C++
		
	
	
		
			Executable File
		
	
	
	
	
| #include <xvt.h>
 | |
| #include <stdlib.h>
 | |
| #include <checks.h>
 | |
| 
 | |
| #include "sc1.h"  
 | |
| 
 | |
| #define usage "Errore - uso : sc1 -{0|1}"
 | |
| 
 | |
| int main(int argc,char** argv)
 | |
| {
 | |
|   const int n = (argc > 1) ? (atoi(&argv[1][1])) : 0;
 | |
| 
 | |
|   switch(n)
 | |
|   {
 | |
|   case 0:
 | |
|     sc1100(argc,argv);
 | |
|     break;
 | |
|   case 1:
 | |
|     sc1200(argc,argv);
 | |
|     break;
 | |
|   default: 
 | |
|     error_box(usage);
 | |
|     exit(1);
 | |
|     break;
 | |
|   }
 | |
|   return 0;
 | |
| }
 |