That depends whether you are linking against a static library or dynamic one. When linking/compiling with static library the code from that library will be put into resulting executable. With dynamic library the executable will not contain library code but OS will attempt to load correct dynamic library for you and link at run-time. In case of standard C library, I believe windows does indeed do dynamic linking as the implementation of C standard library is some DLL (dll is dynamic link library for windows. On Linux it would be .so). It is also possible to do a static binary and include parts of DLL library you use in your actual executable. This will blow up your executable size, however.
Also I think you meant native code. Byte code usually refers to non-native code that is generated by java and .net compilers and interpreted by their virtual machines. - Lev Neiman On Tue, Jan 4, 2011 at 4:06 AM, praveen srivastva < [email protected]> wrote: > I think the function get attached with our program and at the compile > time compiles with our program and > then the byte code generated > > > On Tue, Jan 4, 2011 at 11:03 AM, safol ghadi <[email protected]> > wrote: > > On 1/4/11, Shoubhik <[email protected]> wrote: > >> Hi, > >> > >> when we write > >> > >> #include<stdio.h> > >> > >> > >> we are are referring to the header file stdio.h > >> > >> but where exactly is the code ?? only the function prototypes are > >> visible in stdio.h ? > >> > >> -- > >> You received this message because you are subscribed to the Google > Groups > >> "google-codejam" group. > >> To post to this group, send email to [email protected]. > >> To unsubscribe from this group, send email to > >> [email protected]<google-code%[email protected]> > . > >> For more options, visit this group at > >> http://groups.google.com/group/google-code?hl=en. > >> > >> > > > > Defination of function is present in respective operating system. > > e.g. printf() defination is present in C:\windows\system directory > > > > -- > > You received this message because you are subscribed to the Google Groups > "google-codejam" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > [email protected]<google-code%[email protected]> > . > > For more options, visit this group at > http://groups.google.com/group/google-code?hl=en. > > > > > > -- > You received this message because you are subscribed to the Google Groups > "google-codejam" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-code%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-code?hl=en. > > -- You received this message because you are subscribed to the Google Groups "google-codejam" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-code?hl=en.
