Re: local function definition


[ Follow Ups ] [ Post Followup ] [ CS1704 Discussion WWWBoard ] [ FAQ ]

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"





Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS1704 Discussion WWWBoard ] [ FAQ ]