summaryrefslogtreecommitdiff
path: root/c-structs/struct.h
diff options
context:
space:
mode:
Diffstat (limited to 'c-structs/struct.h')
-rw-r--r--c-structs/struct.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/c-structs/struct.h b/c-structs/struct.h
new file mode 100644
index 0000000..38a0cc7
--- /dev/null
+++ b/c-structs/struct.h
@@ -0,0 +1,6 @@
+typedef struct {
+ char name[50];
+ int health;
+ float damage;
+} Character;
+