answersLogoWhite

0

Every library requires a header file (.h file) that can be included in any translation unit that requires access to the library. The header describes the library interface. The library implementation may be provided by a corresponding .c source file in which case you can compile the library into your program just as you would any other translation unit. However, most library implementations are provided by a precompiled library file (.lib file) and you generally won't have access to the source file. The precompiled library file is required by the linker while the corresponding header is required by the compiler.

User Avatar

Wiki User

8y ago

What else can I help you with?

Related Questions

Can C scripting be incorporated into an HTML file and if so how?

No. C Scripting can not be incorporated into an HTML file.


Cos.obj error in c language?

cos.odj is a file that can not be open while running the program . this is also due to directories or library functions


Why is stdioh file used in c program?

The stdio.h file is used in c programs in order to import declarations of important functions and constants that are useful in doing input/output, using the library facilities of the compiler.


How do you write c file arguments?

Using parameters argc and argv, and library functions fopen, fprintf, fclose


If you own abusiness but you are not incorporated are all your assets going to be affected If you file for chapter 11?

A business, or anything, generally can't file C-11, unless it is Incorporated.


Program for marksheet in c language?

The std::cout and std::cin streams are peculiar to the C++ standard library. They are not available in the C standard library, but are analogous to stdin and stdout which is in the C standard library.


Why program consists more than one object file in c?

why does a program consists of more than one object file in c++


Write a C program to extract a given word from a file?

program to extract a given word from a file


What is the difference between using angular brackets in C language and double quotes in Cpp language to enclose header files?

When you includes any header file using "" that time compiler try to locate this file first from your program's local directory and then from library. But if you include the .h file using <> then compiler assumes you are including some library file.


A program in c to copy text file?

File Operations in C are accomplished by the use of pointers.Pointers are use to point to a particular memory location.File are read and written by using file pointers.The Keyword FILE is used to declare a file pointer.The Complete Program for writing text to a file and saving it and copying it to a new location is given at http://c-madeeasy.blogspot.com/2011/07/program-in-c-to-write-data-to-file-and.html


How do I write a C plus plus program to store my friends name in a file?

To write a C++ program that stores a friend's name in a file, you can use the <fstream> library. First, include the library and create an ofstream object to open a file for writing. Use the << operator to write the friend's name to the file, then close the file. Here's a simple example: #include <iostream> #include <fstream> using namespace std; int main() { ofstream outFile("friends.txt"); if (outFile.is_open()) { outFile << "Friend's Name\n"; // Replace with the actual name outFile.close(); } else { cout << "Unable to open file"; } return 0; }


You want a file handling c program?

yes