estelendur d4be579a9f Initial commit 9 år sedan
..
FEV.c d4be579a9f Initial commit 9 år sedan
FEV.h d4be579a9f Initial commit 9 år sedan
FEV.o d4be579a9f Initial commit 9 år sedan
FEVtypes.h d4be579a9f Initial commit 9 år sedan
README d4be579a9f Initial commit 9 år sedan
Writeup d4be579a9f Initial commit 9 år sedan
makefile d4be579a9f Initial commit 9 år sedan
matrix.c d4be579a9f Initial commit 9 år sedan
matrix.o d4be579a9f Initial commit 9 år sedan
mytest.c d4be579a9f Initial commit 9 år sedan
mytest.o d4be579a9f Initial commit 9 år sedan
outtest d4be579a9f Initial commit 9 år sedan
runmytest d4be579a9f Initial commit 9 år sedan

README

Esty (Katherine) Thomas
Module: FLAT/C
Week 2

FILES:
FEV.c: Has methods for creating non-printable and printable
face, edge, and vertex structs (vertices only come in one
flavor). Also has arrays of printable structs, methods for
printing both kinds of struct, a method for writing printable
structs to file, and a huge, unwieldly, unworking method for
reading structs from a file.
FEV.h: Contains a crapton of function prototypes and a couple other
things.
FEVtypes.h: Contains all the struct definitions, a couple other
type definitions, and a few other things.
matrix.c: Functions for dealing with matrices.
mytest.c: Contains a main() function to test the stuff in FEV.c.
makefile: A file to may runmytest (the executable).
README: This file.

HOW TO COMPILE:
Run the makefile... FEV.c uses matrix.c; they both use FEV.h and
FEVtypes.h. mytest.c uses FEV.c.

HOW TO USE:
If you use the makefile, ./runmytest. To look at the output of
printificate, look at outtest. To change the shapes being printed,
change mytest.c.

NOTES:
As of this writing, readificate (the method for reading in the output
of printificate) doesn't actually work. Clearly I do not know how fscanf
works, despite the fact that it worked for my matrix-reading program.
So, while printificate works beautifully, readificate segfaults.