User Tools

Site Tools


blog:fall2015:creid4:journal

This is an old revision of the document!


MONTH Day, YEAR

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:

  • What action or concept of significance, as related to the course, did you experience on this date?
  • Why was this significant?
  • What concepts are you dealing with that may not make perfect sense?
  • What challenges are you facing with respect to the course?

9/11/2015

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…

sep/29/2015

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>

blog/fall2015/creid4/journal.1443555487.txt.gz · Last modified: 2015/09/29 19:38 by creid4