1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-05 06:17:36 +02:00

Removed separate code section

Removed the separate code section for header files
This commit is contained in:
Zachary Ferguson
2015-10-14 21:59:42 -04:00
parent 79ced08e09
commit 27bb1a1e80

View File

@@ -628,9 +628,7 @@ typedef void (*my_fnp_type)(char *);
// , | left to right // // , | left to right //
//---------------------------------------------------// //---------------------------------------------------//
``` /******************************* Header Files **********************************
### Header Files
Header files are an important part of c as they allow for the connection of c 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 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 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 command #include "example.h", given that example.h exists in the same directory
as the c file. as the c file.
*/
```h
/* A safe guard to prevent the header from being defined too many times. This */ /* 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 */ /* happens in the case of circle dependency, the contents of the header is */
/* already defined. */ /* already defined. */