// file: lecture_09/example_00.cc // // local include files // #include "example.h" // function: sum // // arguments: // float x: one operand // float y: another operand // // return: // a float value containing the sum of two numbers // // description: .... // // float mysum(float x_a, float y_a) { return x_a + y_a; } // function: sum // // arguments: // float x: one operand // long y: another operand // // return: // a float value containing the sum of two numbers // float mysum(float x_a, long y_a) { return mysum(x_a, (float)y_a); }