estelendur d4be579a9f Initial commit 9 年 前
..
FEV.c d4be579a9f Initial commit 9 年 前
FEV.h d4be579a9f Initial commit 9 年 前
FEV.o d4be579a9f Initial commit 9 年 前
FEVtypes.h d4be579a9f Initial commit 9 年 前
README d4be579a9f Initial commit 9 年 前
Writeup d4be579a9f Initial commit 9 年 前
makefile d4be579a9f Initial commit 9 年 前
matrix.c d4be579a9f Initial commit 9 年 前
matrix.o d4be579a9f Initial commit 9 年 前
mytest.c d4be579a9f Initial commit 9 年 前
mytest.o d4be579a9f Initial commit 9 年 前
outtest d4be579a9f Initial commit 9 年 前
runmytest d4be579a9f Initial commit 9 年 前

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.