자료구조프로젝트
페이지 정보
작성일 23-01-16 10:18
본문
Download : 자료구조프로젝트.hwp
설명
순서
자료구조프로젝트
레포트/기타
자료구조프로젝트
,기타,레포트






호로그램
#include
#include
#include
#define LINE_MAX 256 /* Max: 255 characters per line */
#define WORD_MAX 20
#define TOP_SINGLE_MAX 20
#define TOP_PAIR_MAX 20
typedef struct list_single *list_single_ptr;
typedef struct list_pair *list_pair_ptr;
typedef struct list_pair {
char str[WORD_MAX];
int pair_freq;
list_pair_ptr plink;
}list_pair_node;
typedef struct list_single {
char str[WORD_MAX];
int single_freq;
list_single_ptr slink;
list_pair_ptr plink;
}list_single_node;
typedef struct {
char str[WORD_MAX];
int freq;
}single;
typedef struct {
char prestr[WORD_MAX];
char poststr[WORD_MAX];
int freq;
}pair;
void cut_special_ch (char st[중요] );
void cut_one_ch(char st[중요] );
void make_pair_list(list_single_ptr head,char preword[중요] ,char word[중요] );
void make_single_list(list_single_ptr head,char preword[중요] , char word[중요] );
void count_freq (list_single_ptr head,char …(skip)
Download : 자료구조프로젝트.hwp( 35 )
자료구조프로젝트 , 자료구조프로젝트기타레포트 ,
다.