simple structure/linked list question
Just need a little clarification here. I am studying linked lists and structures in my class and had a general question for anyone that would be kind enough to help out :) Here is an example that is given in my book:
So here are my questions.
typedef int KEY_TYPE; /* Application Dependant */
KEY_TYPE key; / * Other Data Fields */
typedef struct nodeTag
struct nodeTag *link;
1) What does application dependant mean? My guess is that what is put here depends on the application that I am trying to create, but I do not understand how or why this statement is there.
2) Where the first structure is commented /* Other Data Fields */I can put any other data I want in this structure? For example, if I wanted to make a list of names and phone numbers that I can search, add to, delete from, and print, I can just make arrays to hold each piece of data within the structure "DATA"?
3) Is the second structure just standard syntax or is it dependant on the specific program that I am trying to run?
Ok guys, have at it. Thanks in advance for any help!! :)