Dr. Tom V. Mathew 12 October 2006
Another example of little more complex linked list.
linked-list.cpp
C Programming
ANSCI-C
Dynamic arrays
C++
Linked List
This linked list will use a class as a elements and each class has an element which is another class.
linked-list.cpp
Notes
Notes
To get the current file name and current line number, usaually to put in the
error messages
if(check)
{
printf("\n\nError:Check-File[%s]-Line-(%d)\n\n",__FILE__,__LINE__);
fflush(stdout);exit(0);
}
Prof. Tom V. Mathew
2006-10-12