How to create user define header file in c or c++ programing
Answers
Answered by
5
hello..
Things to keep in mind.
Put only what is necessary in a header file.Typically this means function and type declarations, global variables, structure declarations and in some cases, inline functions - things that you need to access from a different source files.Don’t put function definitions in a header. Put these things in a separate .c file.In a header file don’t include headers that are not needed. For instance, don’t include stdio.h in your header file if you don’t need it there.Include basic documentation
I hope it help you
Things to keep in mind.
Put only what is necessary in a header file.Typically this means function and type declarations, global variables, structure declarations and in some cases, inline functions - things that you need to access from a different source files.Don’t put function definitions in a header. Put these things in a separate .c file.In a header file don’t include headers that are not needed. For instance, don’t include stdio.h in your header file if you don’t need it there.Include basic documentation
I hope it help you
Gopalawasarmol:
Tq u
Similar questions