summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorZachary Ferguson <zfergus2@users.noreply.github.com>2015-10-13 11:05:20 -0400
committerZachary Ferguson <zfergus2@users.noreply.github.com>2015-10-13 11:05:20 -0400
commit79ced08e094e488eb21d026c882babc50d0ca168 (patch)
tree5969ef00d4fc10eec6ed1cacdc817bb3cbabf149
parente418849d7696bd91a144ccdff451025899ac10e0 (diff)
Added Header title
+ Added a header file title * Changed ```c to ```h
-rw-r--r--c.html.markdown4
1 files changed, 3 insertions, 1 deletions
diff --git a/c.html.markdown b/c.html.markdown
index f1201eac..0c4916ac 100644
--- a/c.html.markdown
+++ b/c.html.markdown
@@ -630,6 +630,8 @@ typedef void (*my_fnp_type)(char *);
```
+### 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
seperate files.
@@ -639,7 +641,7 @@ 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.
-```c
+```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. */