EP 241 Computer Programming |
|
My cmath LibraryWrite a header file named "mycmath.h" that includes all cmath functions and constants. An example content can be as follows:#ifndef MYCMATH #define MYCMATH #define MY_PI 3.1415926 double mysin(double x){ ... } double mylog(double x){ ... } double mypow(double x, double y){ ... } . . . #endif |
|||||||||||||||||||||||||||||||||||||||||||
University of Gaziantep - Department of Engineering Physics (2005 - 2024) |