summaryrefslogtreecommitdiff
path: root/wk4/pset
diff options
context:
space:
mode:
Diffstat (limited to 'wk4/pset')
-rw-r--r--wk4/pset/recover/recover.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/wk4/pset/recover/recover.c b/wk4/pset/recover/recover.c
index 474c4f8..d401ff7 100644
--- a/wk4/pset/recover/recover.c
+++ b/wk4/pset/recover/recover.c
@@ -20,4 +20,17 @@ int main(int argc, char *argv[])
}
fread(infile, sizeof(RGBTRIPLE), width, inptr);
+
+ /*
+ if (first 3 bytes are 0xff 0xd8 0xff AND 4th byte is 0xe* (* denotes anything)) {
+ this is a photo; remember the pointer
+ }
+
+
+
+
+
+ */
+
+
}