reset password
Author Message
Miro138
Posts: 22
Posted 10:17 Dec 09, 2016 |

For the first part, we're suppose to have one header file that declares the node such ex : class node{ int, node, ...} and then a second file, a .cpp, that defines the node. I'm not too sure what it means by "defines a linked list node" since the header file declares it and the attributes i'm going to use. Declared to me is just the attributes and variables a class is going to have and defined actually initializes them with values. Not sure what goes where.

msargent
Posts: 519
Posted 10:20 Dec 09, 2016 |

A good point. Just define it anyway in a separate cpp file as an exercise.