fork download
  1. typedef struct doubly_node {
  2. int data;
  3. struct doubly_node *next;
  4. struct doubly_node *prev;
  5. }doubly_node;
  6.  
  7. typedef struct list_datatype {
  8. doubly_node *head;
  9. doubly_node *tail;
  10. }list_datatype;
  11.  
  12.  
  13. void init_list(list_datatype *list);
  14. void insert_node(list_datatype *list, int x);
  15. // xoa dau
  16. void delete_node(list_datatype *list);
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status
stdout
Standard output is empty