|
C M S C 2 1 4 C o m p u t e r S c i e n c e I I S p r i n g 2 0 0 2 |
Corrections/Modifications
#include "run.h"
int main()
{
run() ;
return 0 ;
}
run.h should be fairly simple too:
#ifndef RUN_H #define RUN_H void run() ; // prototype #endifIn run.cpp, you will have a function called run() which contains all the code that used to appear in main(). Any helper functions used by main() should now appear in run.cpp.
|
See the class syllabus for policies concerning email Last Modified: Thu Apr 4 01:22:22 EST 2002 |
|
|
|
|
|