summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-02-18 06:41:50 +0000
committerFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-02-18 06:41:50 +0000
commit8b4d0e991004f55d53363a77dd0670b05f0f4e1f (patch)
tree71ac15eac8cf02557997a9acac3334804f209fcc
parent5725f5e2e47ad8a457122241c1fdcfeed0d672b2 (diff)
Sat, Feb 17, 2024, 10:41 PM -08:00
-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;
+*/