answersLogoWhite

0

You get many error/warning messages. That's why headers always have a frame like this:

#ifndef HEADERNAME

#define HEADERNAME

... actual content ...

#endif

This way multiple inclusions won't cause any trouble.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What are the common header files use in C programming?

# include <stdio.h> # include <conio.h> # include <stdlib.h> # include <string.h>


What is the use of header files as used in C programming?

Header files are used to have declarations. It is simple to include a single header file than writing all the needed functions prototypes.


How do you correct the C plus plus programming error missing function header?

You need to #include the header file that contains the missing function's declaration.


How do you concatenate strings in C programming?

strcat if u wnt to use strcat then include string.h header file


Header files in Java programming?

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


What is the header in C programming language?

A haeder is a text-file, meant to include (#include) into a source-file. Usually it contains variable and function declarations, constants, type-definitions, documentation.


How many header are using in c programming?

No explicit limit, you can use so many header files as you want.


Are header and documentation the same thing in c programming?

Yes.


What is the function of square root in C programming?

it is sqrt in header math.h


To include a header or footer in a publication you will have to view the .?

To include a header or footer in a publication you will have to view the .?


How do you include a system header file called sysheader.h in a c source file?

There is no system header called share.h, but if there were, it would be: #include <share.h>


A function is declared in C header file When you try to implement in a c source file it is giving error?

The source file must include the header file. Beyond that we can only guess at the problem without seeing the content of the source and header files. Do not post the files here. Such questions are better handled by the many C programming forums available elsewhere on the Internet.