which included commits to RCS files with non-trunk default branches. git-svn-id: svn://10.65.10.50/trunk@1681 c028cbd2-c16b-5b4b-a496-9718f37d4682
		
			
				
	
	
		
			32 lines
		
	
	
		
			480 B
		
	
	
	
		
			C++
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			480 B
		
	
	
	
		
			C++
		
	
	
		
			Executable File
		
	
	
	
	
| #include <xvt.h>
 | |
| #include <strings.h>
 | |
| #include <checks.h>
 | |
| 
 | |
| #include "ve0.h"
 | |
| 
 | |
| #define usage "Errore - Utilizzo: %s -{0|1|2}"
 | |
| 
 | |
| int main( int argc, char** argv )
 | |
| {
 | |
|   int rt = -1;
 | |
|   const int r = (argc > 1) ? atoi( &argv[1][1] ) : -1;
 | |
| 
 | |
|   switch (r)
 | |
|   {
 | |
|   case 1:
 | |
|     rt = ve0100( argc, argv );
 | |
|     break;
 | |
|   case 2:
 | |
|     rt = ve0200( argc, argv );
 | |
|     break;
 | |
|   case 3:
 | |
|     rt = ve0300( argc, argv );
 | |
|     break;
 | |
|   default:
 | |
|     error_box( usage, argv[0] );
 | |
|     break;
 | |
|   }
 | |
|   return rt;
 | |
| }
 | |
| 
 |