検索結果 1 件

by アレセイア
9年前
フォーラム: C言語何でも質問掲示板
トピック: C言語についての質問です
返信数: 1
閲覧数: 1238

C言語についての質問です

各文字列の出現回数を数えるプログラムを作成しているのですが、セグメッションフォルトが出ました。 どこがおかしいのか教えてください。C言語始めたばかりです。 #include <stdio.h> #include <string.h> #include <stdlib.h> typedef struct cell{ struct cell *next; char *word; int count; }CELL; int main(int argc,char **argv){ count_word(); return(0); } struct cell *list = NULL; void cou...

詳細検索ページへ移動する