User Tools

Site Tools


notes:fall2024:projects:msi2

This is an old revision of the document!


msi2

mknode() function

Node *mknode (parameters);

To make a node you need to allocate memory for it, and initialize any values that need to be, for parameters you want to pass it anything that might change between nodes, like X and Y coordinates, but anything that remains the same, like speed, can be hard-coded into the function.

rmnode() function

Node *rmnode (Node *);

mklist() function

List *mklist ();

insert() function

List *insert (List *, Node *, Node *);

append() function

List *append (List *, Node *, Node *);

obtain() function

List *obtain (List *, Node **);

clearlist() function

List *clearlist (List *);

rmlist() function

List *rmlist (List *);
notes/fall2024/projects/msi2.1726762429.txt.gz · Last modified: 2024/09/19 16:13 by cgrant9