You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Test.cc
#include stuff.h

int goodbye(void) {

     int c << testme

     return 0
} 

int noreally_goodbye(void) {

     int x << testmeagain

     return 0
} 

Lines 10-15: 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

 

  • No labels