This is an old revision of the document!
This is a sample format for a dated entry. Please substitute the actual date for “Month Day, Year”, and duplicate the level 4 heading to make additional entries.
As an aid, feel free to use the following questions to help you generate content for your entries:
dsi0 is done and my brain feels like 8 pound jello… the program is working as described displaying editing and creating arrays. debugging was so time consuming and i had to do 3 re hall of my program. that is complete restructuring.
i swear to you this was not procrastination i dont have fun any more … i dont even know why im typing this… i think i should go to sleep now i just feel so defeated…
recently we dived into the intricate structures of linked list and their sudo counterparts.
i know have enough of an understanding that i want to create a node vector drawing program for graphics libraries i could try it with text and refresh but that sounds insane.
here is an example for later reference *note* this is not perfect. check in src/data/sll0/unit/list/vector.c < code c> #include <stdio.h> #include “node.h” #include “list.h”
struct point {
int *x; //make float later int *y; int *z; struct point *after;
}; struct vector {
point *first; point *last;
};
typedef struct point Point; typedef struct vector Vector;
int main() {
// begin drawing 3d cube // fnt face Vector *fnt1 = NULL; Vector *fnt2 = NULL; Vector *fnt3 = NULL; Vector *fnt4 = NULL; //bk face Vector *bk1 = NULL; Vector *bk2 = NULL; Vector *bk3 = NULL; Vector *bk4 = NULL; // fnt face data points fnt = mkpoint(fnt,5,5,0); fnt = mkpoint(fnt,10,5,0); fnt = mkpoint(fnt,10,10,0); fnt = mkpoint(fnt,5,10,0); // bk face data points bk = mkpoint(bk,5,5,-5); bk = mkpoint(bk,10,5,-5); bk = mkpoint(bk,10,10,-5); bk = mkpoint(bk,5,10,-5);
return 0;
}
Point *mkPoint(Point *pnt, int * x, int *y, int *z) {
pnt = (vector *) malloc(sizeof(vector)); // do stuff
} return pnt Vector *addPoint(Point *vList, Point * new) { do stuff } return vList </code>