资源说明:array算IP地址的C语言题
程序a.c 如下:
#include
#include
typedef struct MY_IP {
int xx,yy,zz,mm;
char name[11];
} MY_IP;
void scan_address(char *namein, MY_IP *ip, int *NN)
{
FILE *fin;
int j,nn=0;
int buff_size = 72;
char *buff;
buff = (char *) malloc(buff_size * sizeof (char));
if ( (fin = fopen(namein,"r") ) == NULL ) {
printf("\007Cann't open input file: %s ", namein);exit(1);
};
........
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。