/*L*/

/*[ŠÈˆÕƒ\ƒtƒgŠJ”­]@ƒ\[ƒXHTML’uŠ·CŒ¾Œêƒ\[ƒX*/

/*–ÚŽŸ‚Ö–ß‚é*/

#define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <stdlib.h> #include <string.h> int main(int argc, char *argv[]){ int ch; int file_name_length; char extension[5] = {0}; char extension2[] = ".txt"; char str[1024] = "java -classpath ./class CodeToHTML "; int i; if (argc == 2){ file_name_length = strlen(argv[1]); for (i = 0; i < 5; i++){ extension[i] = *(argv[1] + (file_name_length + (i - 4))); } if(strcmp(extension, extension2) == 0){ strcat(str, argv[1]); system(str); } else{ printf("error"); ch = getchar(); } } else{ printf("error"); ch = getchar(); } return 0; }

/*ƒy[ƒW‚̐擪‚Ö*/

/*–ÚŽŸ‚Ö–ß‚é*/

/*HOME*/

/*Copyright 2016 K.N/petitetech.com*/

/*L*/