Test.cc
#include stuff.h int goodbye(void) { int c << testme int d d = m.noreally_goodbye() return 0 } int noreally_goodbye(void) { int x << testmeagain return 0 }
Lines 13-18: New method, noreally_goodbye.
Line 7: Inserted call to new method.
Always be sure to:
- De-allocate memory
- Motherhood statement 2
- And don't forget to de-allocate memory