README 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. Esty (Katherine) Thomas
  2. Module: FLAT/C
  3. Week 2
  4. FILES:
  5. FEV.c: Has methods for creating non-printable and printable
  6. face, edge, and vertex structs (vertices only come in one
  7. flavor). Also has arrays of printable structs, methods for
  8. printing both kinds of struct, a method for writing printable
  9. structs to file, and a huge, unwieldly, unworking method for
  10. reading structs from a file.
  11. FEV.h: Contains a crapton of function prototypes and a couple other
  12. things.
  13. FEVtypes.h: Contains all the struct definitions, a couple other
  14. type definitions, and a few other things.
  15. matrix.c: Functions for dealing with matrices.
  16. mytest.c: Contains a main() function to test the stuff in FEV.c.
  17. makefile: A file to may runmytest (the executable).
  18. README: This file.
  19. HOW TO COMPILE:
  20. Run the makefile... FEV.c uses matrix.c; they both use FEV.h and
  21. FEVtypes.h. mytest.c uses FEV.c.
  22. HOW TO USE:
  23. If you use the makefile, ./runmytest. To look at the output of
  24. printificate, look at outtest. To change the shapes being printed,
  25. change mytest.c.
  26. NOTES:
  27. As of this writing, readificate (the method for reading in the output
  28. of printificate) doesn't actually work. Clearly I do not know how fscanf
  29. works, despite the fact that it worked for my matrix-reading program.
  30. So, while printificate works beautifully, readificate segfaults.