what is linking (in a program execution environment)? which functionalities come under linking ?
cute_22
2006-01-29 20:43:37 UTC
what is linking (in a program execution environment)? which functionalities come under linking ?
Three answers:
JFalcon
2006-02-04 19:52:38 UTC
Linking is a means of taking one more compiled pieces of binary code and combining them together. Linking can occur "statically" or "dynamically".
In the case of 'static' linking, compiled object modules are then linked (resolution of function call and data addresses) together into one binary result, which can be an executable or dynamic link library.
In the case of 'dynamic' linking, a dynamic link library is loaded by the operating system into a running program's memory space and the data and function calls are resolved so that the running program can use the code in the dynamic link library.
Statically linked applications can have a large footprint because they have all of the code contained within the application at the time that it is run. Dynamic link libraries, however, have the ability to be loaded "on demand" by an application, or loaded at program startup, depending upon whether or not the program was linked to an import library, or the program uses operating system calls to load the library itself.
vijjusoft
2006-01-30 04:54:30 UTC
C++, C Language is linking a file one file to another file & function is a special program which is short the software & create a programe user friendly.
in Same visiual basic is .dll file link the execute the programe.
Electro-Fogey
2006-01-30 05:05:49 UTC
these days, most programs in C++ or whatever object-oriented language you are using 'borrow' code and functions from collections called 'libraries.' When your program is compiled, the linker then reads in your compiled code, adds in the code from the function libraries, and creates an executable program. The linker can create one executable from many source programs and libraries.
ⓘ
This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.