feat: Demo-Examples (Python/Rust/Go/C) mit Protokoll-Templates und Restore-Skript
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
fb4e96919a
commit
64c2b7f0fd
21 changed files with 614 additions and 0 deletions
16
examples/c-linkedlist/linked_list.h
Normal file
16
examples/c-linkedlist/linked_list.h
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#ifndef LINKED_LIST_H
|
||||
#define LINKED_LIST_H
|
||||
|
||||
typedef struct Node {
|
||||
int value;
|
||||
struct Node *next;
|
||||
} Node;
|
||||
|
||||
Node *node_new(int value);
|
||||
Node *list_prepend(Node *head, int value);
|
||||
Node *list_append(Node *head, int value);
|
||||
void list_print(const Node *head);
|
||||
void list_free(Node *head);
|
||||
int list_length(const Node *head);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue