This site hosted by Free.ProHosting.com
Google

Functions: Prototypes And Definitions

Applies To: C++Builder 1 or higher
Category: C++ Language

The function prototype contains the return type, the name of the function and the parameter list. Its general form is:
 
return_type function_name(parameters);
 
The function itself is the function definition.
For example:
 
// Prototype
int calculate(int x);
 
// Definition
int calculate(int x)
{
 
}

C++Builder Developer's Network
Copyright © Yoto Yotov