campo-sirio/ha/ha2.cpp

16 lines
315 B
C++
Raw Normal View History

#include <xvt.h>
#include "ha2.h"
int main(int argc,char** argv)
{
int rt = -1 ;
const int r = (argc > 1) ? atoi(&argv[1][1]) : -1;
switch (r)
{
case 1: rt = ha2200(argc, argv) ; break; //gestione file fatture
default: rt = ha2100(argc, argv) ; break; //gestione file privat
}
return rt;
}