3 #ifndef STAR_MYPACKAGEMAIN
4 #define STAR_MYPACKAGEMAIN
8 void usage(
const char *name) {
9 printf(
"\n\nUsage: %s [input_file [ output_file]]\n",name);
13 int main(
int argc,
char * argv[])
15 const char *packageName=
"No_name";
16 printf(
"Hello World %d: \n", argc);
18 case 3: printf(
"\tThe output file name <%s>\n", argv[2]);
19 case 2: printf(
"\tThe input file name <%s>\n", argv[1]);
20 case 1: printf(
"\tThe package name <%s>", argv[0]);
21 packageName = argv[0];
24 printf(
"\tNo paramater\n");