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
#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
experiencing multiple levels of burnout but i have finally reach a crest in this part of the code were i can see new horizons. unfortunately this also reveals the upcoming storm. i feel good though today code sll3 will be submitted early even though sll2 is broken ill eventually revisit it.
been really busy working one these newer projects in the doubly linked list section ive finished the dln0 doubly linked nodes. and it was way more thought then i had imagined. i thought i wasn't getting any rest earlier ….anyways the special things about dll and beyond is we have now added error handling to our code and restructured our base node and list structs to now include a new type UNION containing DATA,VALUE,OTHER also the list struct now has a node linking to prior or a previus node in the list. this allows us to now move forward and backwards in the list with more freedom. thats all for now im off the finish dll0 display because its due today.