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 13-18: New methodfunction, noreally_goodbye

Line 6, 8: Allocate space for return value, call new methodfunction.

Warning

Beware calls in this context!