summaryrefslogtreecommitdiff
path: root/wk3
diff options
context:
space:
mode:
Diffstat (limited to 'wk3')
-rw-r--r--wk3/sect/structs.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/wk3/sect/structs.c b/wk3/sect/structs.c
new file mode 100644
index 0000000..59a1c07
--- /dev/null
+++ b/wk3/sect/structs.c
@@ -0,0 +1,19 @@
+#include <cs50.h>
+#include <ctype.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+int main(void) {}
+
+
+/*
+typedef struct {
+ string name;
+ int votes;
+} candidate;
+
+candidate president;
+president.name = "Alyssa";
+president.votes = 10;
+*/