Page 18 - C-Language
P. 18

Introduction                                                                                       280

        Pointers and Arrays                                                                                 282

          Polymorphic behaviour with void pointers                                                           283

        Chapter 44: Preprocessor and Macros                                                                 285

          Introduction                                                                                       285

          Remarks                                                                                            285

          Examples                                                                                           285

            Conditional inclusion and conditional function signature modification                            285

            Source file inclusion                                                                            287

            Macro Replacement                                                                                288

            Error directive                                                                                  289

            #if 0 to block out code sections                                                                 289

            Token pasting                                                                                    290
            Predefined Macros                                                                                291

          Mandatory Pre-Defined Macros                                                                       291

          Other Pre-Defined Macros (non mandatory)                                                           291


            Header Include Guards                                                                            292
            FOREACH implementation                                                                           296

            __cplusplus for using C externals in C++ code compiled with C++ - name mangling                  298

            Function-like macros                                                                             299

            Variadic arguments macro                                                                         301

        Chapter 45: Random Number Generation                                                                303

          Remarks                                                                                            303

          Examples                                                                                           303

            Basic Random Number Generation                                                                   303

            Permuted Congruential Generator                                                                  304

            Restrict generation to a given range                                                             305

            Xorshift Generation                                                                              305

        Chapter 46: Selection Statements                                                                    307

          Examples                                                                                           307

            if () Statements                                                                                 307

            if () ... else statements and syntax                                                             307
   13   14   15   16   17   18   19   20   21   22   23