Why are all header files not declared in every c program, C/C++ Programming

Why are all header files not declared in every C program?

- Declaring all header files in each program would result in increase in overall file size and load of the program. It isn't a good programming.

- Choice header files which you want to declare in the program depends on commands/functions you want to use in program. Every header file comprise different commands and functions. So we use only the files relevant to our program.

 

Posted Date: 9/7/2013 7:00:39 AM | Location : United States







Related Discussions:- Why are all header files not declared in every c program, Assignment Help, Ask Question on Why are all header files not declared in every c program, Get Answer, Expert's Help, Why are all header files not declared in every c program Discussions

Write discussion on Why are all header files not declared in every c program
Your posts are moderated
Related Questions
Assume we wish to partition the square roots of the integers from 1 to 100 in to two piles of fifty numbers every, such that the sum of the numbers in the first pile is as close as

Define global variable in c++ program: How to define a global variable and need of global variable in c++ program. int main() {    int m=20;    clrscr();    for

how do i write a c++ program that will input a number and output its factorial using the while loop

what is the first thing I need to know about Programming?

Classify computer system according to capacity. How they are different from computers according to the classification of technology. Provide comparative study also.

Write a function that has two int parameters num and n, and returns TRUE when the nth bit in num is 1, otherwise FALSE. This function should use the function in the above problem.

The task consists of two parts which are both preferably implemented in one source file. Towards the end of this document you will find a code skeleton that you must assume. Start


Write a C program to compute the factorial of  5 i.e. 1x2x3x4x5 etc Write a C program to calculate the output Y for a given value of X for the following formula.       Y=X 2

Should my constructors employ "assignment" or "initialization lists"?