///////////////////////////////////////////////////////// // // functions.cpp // // Jeff Ondich, 4/14/04 // // Part of the Makefile lab exercise. // //////////////////////////////////////////////////////// #include "project.h" int doSomething( int n ) { if( n <= 0 ) return 0; return doSomething( n - 1 ) + 2*n - gSomeInteger; }