Posted by Xunzhong on July 18, 2000 at 23:13:20:
In Reply to: Re: local function definition posted by hussein on July 18, 2000 at 23:03:01:
: you need to provide more details ...
For example:
void Remove(type parameter1, type parameter2, FlightType Flight[]);
int main()
{
if(...){
cin >>...
Remove (patameter1, parameter2, Flight)
}
// function definition
void Remove (type parameter1, type parameter2, FlightType Flight[])
{
...
}
When I compile, it said "error c2601 local function definitions are illegal"