Exam (elaborations)
chain.cpp University of British Columbia CPSC 221
- Course
- Institution
#include "chain.h" #include "chain_" // PA1 functions /** * Destroys the current Chain. This function should ensure that * memory does not leak on destruction of a chain. */ Chain::~Chain(){ /*your code here*//////////////////// length_ = 0; clear(); } /** * Inserts a new node a...
[Show more]