PINGPONG11
New member
עזרה עם struct
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
typedef struct _NUM {
int my;
NUM* next;
} NUM;
הקומפיילר אומר
error: unknown type name 'num'
מה לא בסדר בזה? זה נסיון לממש רשימה מקושרת..
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
typedef struct _NUM {
int my;
NUM* next;
} NUM;
הקומפיילר אומר
error: unknown type name 'num'
מה לא בסדר בזה? זה נסיון לממש רשימה מקושרת..