how a average parameter suppose to look like?
I'm not sure how to interpret your question. It is rather ambiguous. Is "average" a function name or a parameter name?
a function parameter looks like this :
myfunct(float i, double j)
whereas the function parameters are in the braces, and separated by comma's
here is a more detailed explanation:
http://www.cplusplus.com/doc/tutorial/functions/
jeesh, when I read the post 5 minutes ago there were no responses,, everyone must be having coffee right now like me!!! grrr hehe :)
Last edited on
There's no such thing as the "average parameters". Your parameter list will vary depending on the situation.
How to swap 2 strings using reference variables?
std::swap( s1, s2 );
where s1 and s2 are std::strings.
i figure it out but am still stuck :-( thanks for yall help i post my program up will yall take a look?
Last edited on