Monday, May 24, 2010

When you declare & define functions in the same file as your main() function,what are these functions know as?

My main concern is what are they called in C++

When you declare %26amp; define functions in the same file as your main() function,what are these functions know as?
They are called functions. The file in which they are defined is largely irrelevant these days, namespace is what matters.
Reply:sub functions?
Reply:You answered your own question.
Reply:i don't think there is a particular term for such functions, they are usually global functions


No comments:

Post a Comment