C/C++ Compiler (cl.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Huge Memory Model (/AH)
                                             ◄Up► ◄Contents► ◄Index► ◄Back►
─────C/C++ Compiler─────────────────────────────────────────────────────────
 
     Your choice of a memory model determines how memory is set up for
     program code and data.
 
     Microsoft C offers seven models to choose from.
 
                   ┌─────────────── Huge ────────────────┐
     ◄Tiny►        │  All function calls and all data    │
     ◄Small►       │  pointers are far. The restrictions │
     ◄Medium►      │  on the size of individual data     │
     ◄Compact►     │  items for arrays are relaxed. The  │
     ◄Large►       │  command-line equivalent is /AH.    │
     ◄Huge►        │            ◄More Info►              │
     ◄Customize►   │                                     │
                   │                                     │
                   └─────────────────────────────────────┘
                                    -♦-