资源介绍
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);
};
........
- 上一篇: MBIM拨号简介(英文版).docx
- 下一篇: GSDML-V2.x-wago-series