about summary refs log tree commit diff stats
path: root/dev/c/elements.html
blob: d6950d2b67fc62b4e819d496cf0268d0eafd79a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<!DOCTYPE html>
<html dir="ltr" lang="en">
    <head>
        <meta charset='utf-8'>
        <title>Types &amp; Elements</title>
    </head>
    <body>
        <a href="../index.html">Development Index</a>

        <h1>Types &amp; Elements</h1>

        <h2 id="types">Types</h2>

        <dl>
            <dt>char</dt>
            <dd>Integer, one byte.</dd>
            <dt>int</dt>
            <dd>Integer.</dd>
            <dt>float</dt>
            <dd>Single precision floating point.</dd>
            <dt>double</dt>
            <dd>Double precision floating point.</dd>
            <dt>void</dt>
            <dd>Absence of type.</dd>
        </dl>

        <h2 id="ident">Identifiers</h2>

        <p>Variable names, functions, data types and preprocessor macros.
        Are allowed letters, decimal digits and underscore.</p>

        <h2 id="keywords">Keywords</h2>

        <p>Reserved identifiers part of C language.;</p>

        <p>auto break case char const continue default do double else enum
        extern float for goto if int long register return short signed
        sizeof static struct switch typedef union unsigned void volatile
        while</p>

        <p>restrict inline _Bool _Complex _Imaginary</p>

        <p>__FUNCTION__ __PRETTY_FUNCTION__ __alignof __alignof__ __asm
        __asm__ __attribute __attribute__ __builtin_offsetof __builtin_va_arg
        __complex __complex__ __const __extension__ __func__ __imag __imag__
        __inline __inline__ __label__ __null __real __real__
        __restrict __restrict__ __signed __signed__ __thread __typeof
        __volatile __volatile__</p>

        <h2 id="const">Constants</h2>

        <p>Constants are identifiers with fixed values that can't change
        during execution. Data types of constants; integer, character,
        double, strings.</p>

        <h2 id="op">Operators</h2>

        <p>Operators do operations such as; addition or subtraction.</p>

        <h2 id="sep">Separators</h2>

        <p>Language elements separators;<p>
        <p>{} [] () ; , . :</p>

        <h2 id="white">White Space</h2>

        <p>White space is ignored except when separating elements.</p>

        <a href="../index.html">Development Index</a>

        <p>
        This is part of the c9-doc Manual.
        Copyright (C) 2018
        c9 team.
        See the file <a href="../../fdl-1.3-standalone.html">Gnu Free Documentation License</a>
        for copying conditions.</p>
    </body>
</html>