free geoip

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
compiler is compiling our source coad so course code is example for compiler.
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support
#1
Thank you very much for explaining loader and linker. i got everything as you described very nice way but sir i have still one more question about loader. let say, compiler is compiling our source coad so course code is example for compiler. the same way, i need example for linker. i mean, which files link and where these file link and how? i have still confusion in linker. please explain it with 2 or 3 examples.

Thank you so much
Reply
#2
Lets suppose you have written a program and saved it by name "program1.cpp" When you compile this program, compiler creates object code of program "program1.obj "and stores it on disk. Linker links libraries with that object code and its becomes "program1.lib". Loader picks that lib. file and loads it into memory. From memory, CPU takes and executes program.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  ASCII code is binary numbers of 0 and 1 in C++ 2012 Vuhelper 0 2,315 01-04-2012, 10:41 PM
Last Post: Vuhelper
  int x[10]; x[0]= 1; x[1]=2; if following code is executable in C++ 2012 Vuhelper 0 1,967 01-04-2012, 10:17 PM
Last Post: Vuhelper
  array project code c++ 2011 Vuhelper 0 1,314 12-10-2011, 06:32 PM
Last Post: Vuhelper
  factorial in C++ code 2011 Vuhelper 0 987 12-10-2011, 06:31 PM
Last Post: Vuhelper
  ASCII to char conversion code in C++ 2011 Vuhelper 0 1,756 11-05-2011, 05:01 PM
Last Post: Vuhelper
  C++ with loop code 2011-12 Vuhelper 0 1,019 09-18-2011, 07:09 PM
Last Post: Vuhelper
  Revised Student Record Code written in C++ 2011-12 Vuhelper 0 1,506 09-04-2011, 07:18 AM
Last Post: Vuhelper
  c++ code check this code 2011-12 Vuhelper 0 1,137 09-04-2011, 07:17 AM
Last Post: Vuhelper
  Sorting code in c++ Vuhelper 0 1,043 06-09-2011, 10:03 PM
Last Post: Vuhelper
  ASCII code of c++ Vuhelper 0 1,256 06-07-2011, 07:01 PM
Last Post: Vuhelper

Forum Jump:


Users browsing this thread: 1 Guest(s)
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support