C言語なら俺に聞け! Part 62
■ このスレッドは過去ログ倉庫に格納されています
0310たく
NGNGstruct WORD
{
char str[10];
int count;
struct WORD *next;
struct WORD *prev;
};
struct WORD *word;
struct WORD *text;
と定義した場合
word = text;
word->next = text;
としたら、*word もしくは word->nextに
*textの先頭アドレスを代入したと考えればよいのでしょうか?
■ このスレッドは過去ログ倉庫に格納されています