circ_area's examples
during funct_play run! nano to fix example's displayed and actual call
in circ_area_ck_expect.cpp(in nano:
nano)[st10@nrs-labs lab8]$ nano circ_area_ck_expect.cpp
nano to fix examples *comment* in
circ_area.cpp [st10@nrs-labs lab8]$ nano circ_area.cpp
[st10@nrs-labs lab8]$ funct_compile ---------------------------------------------- Welcome to the 03-13-13 version of funct_compile! ---------------------------------------------- Are there any already-created C++ functions OR CLASSES (in the current working directory) which the function to be compiled uses? (type y if so, n if not) your answer: n What is the name of your function? (note: this script assumes this function is in a file in the current working directory named after the function and ending with .cpp) function name: circ_area COMPILING circ_area.cpp... ----------------------------------------------------------------- circ_area.cpp COMPILED! 8-) trying to compile circ_area_ck_expect.cpp... Would you like to run circ_area_ck_expect? (type y if so, n if not) your answer: y testing circ_area: true's should mean passed: --------------------------------------- (circ_area(1) == 3.14159): true (circ_area(10) == 314.159): true Enter a C++ expression involving: circ_area ...and type enter (or type q to quit): q Quitting funct_compile ... goodbye. [st10@nrs-labs lab8]$