cg2100.cpp Aggiunta funzione protected_record cg2102.h Dichiarata funzione protected_record cg3.cpp Aggiunto exit(0) cg3400.cpp Corretta gestione dell'ultima pagina stampata git-svn-id: svn://10.65.10.50/trunk@4355 c028cbd2-c16b-5b4b-a496-9718f37d4682
		
			
				
	
	
		
			20 lines
		
	
	
		
			273 B
		
	
	
	
		
			C++
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			273 B
		
	
	
	
		
			C++
		
	
	
		
			Executable File
		
	
	
	
	
| #include <xvt.h>
 | |
| #include <stdlib.h>
 | |
| 
 | |
| #include "cg2.h"
 | |
| 
 | |
| int main(int argc,char** argv)
 | |
| {
 | |
|   const int n = (argc > 1) ? atoi(&argv[1][1]) : 0;
 | |
|   
 | |
|   switch(n)
 | |
|   {
 | |
|   case 1:
 | |
|     cg2200(argc, argv); break;
 | |
|   default: 
 | |
|     cg2100(argc, argv); break;
 | |
|   }
 | |
|   exit(0);
 | |
|   return 0;
 | |
| }
 |