diff options
author | Árpád Goretity <arpad.goretity@gmail.com> | 2013-08-15 12:36:29 +0200 |
---|---|---|
committer | Árpád Goretity <arpad.goretity@gmail.com> | 2013-08-15 12:36:29 +0200 |
commit | f2c41a8a9915606ed801a87f153d91fd347069a1 (patch) | |
tree | 48048d22097fdab6193f415374f7983caa0c429f /c.html.markdown | |
parent | 24fd870589d863618e6ba2571b6a0c8339d35edc (diff) |
whoops, fixed typos and added missing info
Diffstat (limited to 'c.html.markdown')
-rw-r--r-- | c.html.markdown | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/c.html.markdown b/c.html.markdown index ac6c7ab4..ec5c5e0d 100644 --- a/c.html.markdown +++ b/c.html.markdown @@ -5,7 +5,6 @@ language: c filename: learnc.c contributors: - ["Adam Bard", "http://adambard.com/"] - - ["Árpád Goretity", "http://twitter.com/h2co3_ios"] --- Ah, C. Still **the** language of modern high-performance computing. @@ -29,7 +28,13 @@ Multi-line comments look like this. They work in C89 as well. // file names between <angle brackets> are headers from the C standard library. // They are searched for by the preprocessor in the system include paths // (usually /usr/lib on Unices, can be controlled with the -I<dir> option if you are using GCC or clang.) -// For your +// For your own headers, use double quotes instead of angle brackets: +#include "my_header.h" + +// The C preprocessor introduces an almost fully-featured macro language. It's useful, but +// it can be confusing (and what's even worse, it can be misused). Read the +// Wikipedia article on the C preprocessor for further information: +// http://en.wikipedia.org/wiki/C_preprocessor // Declare function signatures in advance in a .h file, or at the top of // your .c file. |