link1 - struct node { // structure for linked list double...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
// ------------------------- Singly-linked list node (link1.h) ----------- class node { public: double damount; // currency denomination amount int dcount; // number of times denomination was used node *next; // next node in the linked list }; // ------------------------- Note for myself ----------------------------- /* ------------------------- Below: code originally in the main program
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: struct node { // structure for linked list double damount; // denomination amount int dcount; // number of times denomination was used node *next; // next node in the linked list };-------------------------------------------------------------------------- */...
View Full Document

Ask a homework question - tutors are online