07/05/17 18:53:47
>>274
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
struct CELL{
struct CELL *next;
int value;
}
main(void){
int or,banti,mval,y,z;
struct CELL *header,*p,*q,*new,b,c,d;
header->next = &b;
header->value = 130;
b.next = &c;
b.value = 90;
c.next = &d;
c.value = 55;
d.next = NULL;
d.value = 160;
for(;;){
/*qを現在、pを次のポインタに設定*/
p = header->next;
q = header;