mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-11-26 20:34:32 +03:00
Removed separate code section
Removed the separate code section for header files
This commit is contained in:
parent
79ced08e09
commit
27bb1a1e80
@ -628,9 +628,7 @@ typedef void (*my_fnp_type)(char *);
|
||||
// , | left to right //
|
||||
//---------------------------------------------------//
|
||||
|
||||
```
|
||||
|
||||
### Header Files
|
||||
/******************************* Header Files **********************************
|
||||
|
||||
Header files are an important part of c as they allow for the connection of c
|
||||
source files and can simplify code and definitions by seperating them into
|
||||
@ -640,8 +638,8 @@ Header files are syntaxtically similar to c source files but reside in ".h"
|
||||
files. They can be included in your c source file by using the precompiler
|
||||
command #include "example.h", given that example.h exists in the same directory
|
||||
as the c file.
|
||||
*/
|
||||
|
||||
```h
|
||||
/* A safe guard to prevent the header from being defined too many times. This */
|
||||
/* happens in the case of circle dependency, the contents of the header is */
|
||||
/* already defined. */
|
||||
|
Loading…
Reference in New Issue
Block a user