User Tools

Site Tools


opus:fall2013:vcordes1:journal

Data Structures Journal

September 9, 2013

This is a make upish entry for week 1 just so something is there. We reviewed pointers and data types. Pointers are a pretty easy concept for me although I haven't up to this point (pun intended) in my programming experience needed them. Coming into week 3 and moving through linked lists I understand their significance. I will say here that I'm just starting to get adjusted to the c syntax. (much more used to c++. similar and yet different.) More importantly what I wanted to cover in this entry is data types specifically the program we wrote to display them. I understand what it is telling me not so much how it is doing it. I think I also need a better understanding of malloc. What it does and how it works.

Data Structures Journal

September 9, 2013

Just spent some time with the linked list program and mentally reviewing what was discussed in class Friday the 6th. I have a pretty good grasp of linked lists and am feeling pretty confident. Inserting and appending is easy to adjust. Up to this point I am only having trouble inserting at node 0. My adjustments prevent it from hitting a run time error they do not however do what I want them to. (insert at the beginning of the list) I'm beginning to think of how removing from the list would work as well as potential applications.

Data Structures Journal

September 12 2013

More linked list stuff pretty cool and starting to see more potential applications. Really curious to learn about the doublee linked list. Feeling pretty confident with the course in general and quite enjoying it.

Data Structures Journal

September 19, 2013

Today we covered more on doublee linked lists….and I got nothing. But I did take some time out to play with classes in c++. Good times. Thought of the moment: can you make a struct withing a class? tested and compiled… using namespace std;

class test {

  public:
  private:
      struct node{
      int value;
      struct node *next;
      };
      typedef struct node Node;

};

int main() {

  return 0;

}

now can I make a public struct within a class?

#include <iostream>

using namespace std;

class test {

  public:
      struct New{
      int value;
      struct node *next;
      };
      typedef struct node New;
  private:
      struct node{
      int value;
      struct node *next;
      };
      typedef struct node Node;

};

int main() {

  return 0;

}

compiled and ran…not sure what to think tho and I have no idea what I would do with a public struct in a class not to mention I can't really know if it works until I use it.

Data Structures Journal

Oct 23, 2013

Anyway been bad about opus updates lately gotta start changing that. I am currently meditating on stacks and queues. I am perhaps a little stuck on the idea that stacks and queues are not any different than a linked list, the only change is how they are accessed. Also this works like a charm *&. Yea right there *& amazing. Pointer by reference.

Nov 8, 2013

Great things happened today after a 6 hour keyboard grind. Functional functions for list, stack, and queues have been created. and i won.

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?

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?

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?

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?

A lazy list of stuff I did this semester

  • C linked and doubly linked list implementations (most functions, single file)
  • C++ doubly linked list, stack, queue, and tree implementations. (most everything)
  • C++ Eoce reimplementation list, stack, queue
  • Java implementation list, stack, queue, tree (most function)
  • Card game (needs work)
  • There may be more I can't remember at the moment
opus/fall2013/vcordes1/journal.txt · Last modified: 2013/12/13 21:25 by vcordes1