Abraxas/ECS C++ Home Table of Contents
/*
*/
#define _SQRT(x) sqrt(x)
Function Name: SQRT()
inline double SQRT(int x) {return ( sqrt(x) );
}
Function Name: main()
main() {double hypo;hypo = _SQRT ( 2 ); // BAD 88, don't use macroshypo = SQRT ( 2 ); // GOOD 88, inline
}
Abraxas/ECS C++ Home Table of Contents