Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
Column
width35%
Code Block
languagecpp
titleTest.cc
firstline1
linenumberstrue
#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
} 
Column
width35%

Lines 1013-1518: 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