32 lines
434 B
C++
32 lines
434 B
C++
// SSAGetInfo.cpp : Defines the entry point for the console application.
|
|
//
|
|
|
|
#include "stdafx.h"
|
|
|
|
#include "ssalib.h"
|
|
|
|
int main(int argc, char* argv[])
|
|
{
|
|
char* nome = NULL;
|
|
char* prodotto = NULL;
|
|
|
|
for(int i=1; i<argc; i++)
|
|
{
|
|
if(strcmp(argv[i], "-nome")==0)
|
|
{
|
|
nome = argv[i+1];
|
|
i++;
|
|
}
|
|
else if(strcmp(argv[i], "-prod")==0)
|
|
{
|
|
prodotto = argv[i+1];
|
|
i++;
|
|
}
|
|
}
|
|
|
|
|
|
generaFileClient(nome, prodotto);
|
|
return 0;
|
|
}
|
|
|