Legacy Code

By Danny Kalev, ITworld |  How-to

For
example:

/* func is a legacy library function.
declaration was copied from original header file and changed*/
void func(int n);
int main()
{
...
}

Make sure that the library is specified in the "ld" command.

Join us:
Facebook

Twitter

Pinterest

Tumblr

LinkedIn

Google+

Answers - Powered by ITworld

Ask a Question