DLL and Object files

From: Anil Kavalipurapu (anil007_at_gmail.com)
Date: 06/26/04


Date: 26 Jun 2004 13:47:06 -0700

Hi, This is my first post in here. Could some one tell me if I am
right.

-when you write a header file that contains the prototype for many
useful functions, would you call that header file as library? lets
name in myLib.h
-and, if I write all the definitions/implementations for those
functions ( in the header file ) in a seperate .c or .cpp file, would
the resulting compiled file be the object file? lets name this file as
myLib.c or myLib.cpp
-when I compile myLib.c or myLib.cpp, what is the resulting output
file? Would it be a DLL file?

Could some one respond please.

Thanks,
Anil.



Relevant Pages

  • Re: custom header files
    ... with the prototype declarations) were included in a header file. ... when I make function calls to any of the standard C ... were stored in a header file in the standard C library. ... what I'm wanting to do is make any functions that I create ...
    (comp.programming)
  • Re: integer and floating-point bit pattern
    ... > to include the proper header file for any ... Prior to the current standard you did not need a prototype or a ... declaration to call a function that returned int and accepted a fixed ...
    (comp.lang.c)
  • DNS NAMESERVER FUNCTIONS - USER DEFINED / BUILT-IN? URGENT!
    ... functions which are declared in the mentioned header file. ... myDns.c:108: warning: initialization from incompatible pointer type ... The prototype of the ns_name_uncompress function given in the ...
    (comp.os.linux.networking)
  • DNS Nameserver functions - User Defined or Built - in?URGENT!!!
    ... functions which are declared in the mentioned header file. ... myDns.c:108: warning: initialization from incompatible pointer type ... The prototype of the ns_name_uncompress function given in the ...
    (comp.unix.solaris)
  • Re: custom header files
    ... with the prototype declarations) were included in a header file. ... has replied to my post states that only prototype statements go in the ... whateverReturnType functionName; ...
    (comp.programming)