hii guys
I have been looking for examples for using maths functions eg sine cosine, but I could not find any examples,
so could any one be kind and guide me ,
thanks
hii guys
I have been looking for examples for using maths functions eg sine cosine, but I could not find any examples,
so could any one be kind and guide me ,
thanks
In the 45 minutes between when you posted this and the current time, I should hope you have done a little more searching and found what you were looking for. If not, please make google your best friend. It has not failed me yet.but I could not find any examples,
c math example - Google Search
Check the third hit - each function has examples included.
cmath (math.h) - C++ Reference
Consider this post signed
first thanks for your reply
however, I mean defining function outside the main() not within,
anything !
That isn't really math specific. It's about program structure.
Cprogramming.com - Programming Tutorials: C++ Made Easy and C Made Easy
thank you SO MUCH man