This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
user:abrunda1:portfolio:libstacks [2011/12/16 00:05] – [Project: Directory Listing] abrunda1 | user:abrunda1:portfolio:libstacks [2011/12/16 00:11] (current) – [Reflection] abrunda1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ======Project: | ||
+ | A project for DATA by Andrew Brundage during the Fall 2011. | ||
+ | |||
+ | |||
+ | =====Objectives===== | ||
+ | State the purpose of this project. | ||
+ | < | ||
+ | The purpose of this project is to make a stacks library file that can | ||
+ | be used in later programs so repetitively typing the same code over and | ||
+ | over again is avoided | ||
+ | </ | ||
+ | =====Prerequisites===== | ||
+ | In order to successfully accomplish/ | ||
+ | |||
+ | * [[http:// | ||
+ | |||
+ | =====Background===== | ||
+ | State the idea or purpose of the project. What are you attempting to pursue? | ||
+ | |||
+ | Upon approval, you'll want to fill this section out with more detailed background information. DO NOT JUST PROVIDE A LINK. | ||
+ | |||
+ | Providing any links to original source material, such as from a project page, is a good idea. | ||
+ | |||
+ | You'll want to give a general overview of what is going to be accomplished (for example, if your project is about installing a web server, do a little write-up on web servers. What is it, why do we need one, how does it work, etc.) | ||
+ | |||
+ | |||
+ | =====Attributes===== | ||
+ | State and justify the attributes you'd like to receive upon successful approval and completion of this project. | ||
+ | |||
+ | * libraries | ||
+ | * stacks | ||
+ | * doubly linked list library also called within this library | ||
+ | |||
+ | =====Code===== | ||
+ | |||
+ | isempty.c | ||
+ | <code c> | ||
+ | #include " | ||
+ | #include " | ||
+ | |||
+ | int isEmpty(List *l) | ||
+ | { | ||
+ | l->top = l->end; | ||
+ | int status = 0; | ||
+ | if(l-> | ||
+ | { | ||
+ | status = -1; | ||
+ | } | ||
+ | return status; | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | |||
+ | peak.c | ||
+ | <code c> | ||
+ | #include " | ||
+ | #include " | ||
+ | |||
+ | Node *peak(Node *top) | ||
+ | { | ||
+ | return(top); | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | pop.c | ||
+ | <code c> | ||
+ | #include " | ||
+ | //#include " | ||
+ | #include " | ||
+ | |||
+ | Node *pop(List *l) | ||
+ | { | ||
+ | return(removificate(l)); | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | push.c | ||
+ | <code c> | ||
+ | #include " | ||
+ | //#include " | ||
+ | #include " | ||
+ | |||
+ | void push(List *l, int value) | ||
+ | { | ||
+ | createnode(l, | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | =====References===== | ||
+ | In performing this project, the following resources were referenced: | ||
+ | |||
+ | * URL1 | ||
+ | * URL2 | ||
+ | * URL3 (provides useful information on topic) | ||
+ | * URL4 | ||
+ | |||
+ | Generally, state where you got informative and useful information to help you accomplish this project when you originally worked on it (from Google, other wiki documents on the Lab46 wiki, etc.) |