answersLogoWhite

0

This depends on what compiler you are using. For the most common compilers (including gcc) on a *nix system, most standard header files will be either in /usr/include or /usr/local/include. Check your compiler's documentation for how to check and/or modify the search paths.

User Avatar

Wiki User

15y ago

What else can I help you with?

Continue Learning about Engineering

Where headers files are generally stored?

It depends on the header file and on the general organization of the project. System header files, such as stdio.h or windows.h, are stored in a directory that the compiler knows about, but that you don't need to even think about. Library header files are either stored in the same place that system header files are stored, or they are stored in a place reserved for the particular library. In the latter case, there will usually be build parameters that identify the header files and their associated library files. User header files are either stored in the same directory as the source files, or they can be stored in a related directory, somewhere in the project directory tree. well in most of the DOS/Windows C/C++ compilers predefined header files are stored in INCLUDE directory of the folder containing the compiler


Header files in Java programming?

Java does not require header files like C/C++.


Why need to declare header files compulsory in c plus plus but not in c?

The need to declare header files is not compulsory in C++. You may place all your code in a single source file if you so desire. However, header files are useful in that they separate interface from implementation and aid in hiding information.


What is the difference between header files and namespace in cpp?

Header files are actual files - stored in the file system, referenced by file name, and #include'd in other files (at least, in C/C++ or other languages using the M4 macro preprocessor). Header files typically group pieces of code that are all interdependent parts of the same specific item together. For instance, a game might have a header file for all of its graphics rendering. Namespaces, on the other hand, are an element of the programming language - they don't exist as a file system object, but rather as a designation within code telling the compiler that certain things are within that namespace. Namespaces typically group interfaces (functions, classes/structs, types) of similar (but not necessarily interdependent) items. For instance, the std namespace in C++ contains all of the Standard Library functions and classes.


What is another name for an include file in c program?

Include files are also known as header files.

Related Questions

Where headers files are generally stored?

It depends on the header file and on the general organization of the project. System header files, such as stdio.h or windows.h, are stored in a directory that the compiler knows about, but that you don't need to even think about. Library header files are either stored in the same place that system header files are stored, or they are stored in a place reserved for the particular library. In the latter case, there will usually be build parameters that identify the header files and their associated library files. User header files are either stored in the same directory as the source files, or they can be stored in a related directory, somewhere in the project directory tree. well in most of the DOS/Windows C/C++ compilers predefined header files are stored in INCLUDE directory of the folder containing the compiler


Header files in Java programming?

Java does not require header files like C/C++.


How can you create a c program without using header file?

C programs do not require header files. If you want a C program without header files, you can simply not create them. However, you may or may not be able to include your non-header file source files.


Explain about header files used in c language?

list of header files in c and function prototype associated with each file


Why is it necessary to include header files in C?

It isn't necessary to include header files in C. However, without the functionality provided by some header files, your program wouldn't be able to do very much that is useful.


How many header files are there in C?

256


Can you have nested header files in C?

Yes.


What is header function definition in c language?

No predefined 'header' function in the standard C libraries. There are header files, if that's what you mean.


Where are the C header files in Linux?

The C header files are in the same place as other Unix and Unix-like systems: /usr/include if you installed the compiler.


Is header files in c are similar to packages in java?

No.


Why need to declare header files compulsory in c plus plus but not in c?

The need to declare header files is not compulsory in C++. You may place all your code in a single source file if you so desire. However, header files are useful in that they separate interface from implementation and aid in hiding information.


Need of preprosser in c language?

to include the header files.