Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
const, intraSYS international, Clipper CGI, ClipX.Lib, eMailX, MsgX, Norton Guides, Apache, xBase++, IS2WCGI.DLL, dBase, FoxPro, Norton Guides, vDbase, C/C++, ng2Html By Dave Pearson"> const"> X-Hacker.org- Watcom C/C++ User's Guide - the "zc" option causes the code generator to place literal strings and<b> const</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
The "zc" option causes the code generator to place literal strings and const
items in the code segment.
Example:

     const int cvar = 1;
     int var = 2;
     const int ctable[ 5 ] = { 1, 2, 3, 4, 5 };
     char *birds[ 3 ] = { "robin", "finch", "wren" };

In the above example, cvar and ctable and the strings "robin", "finch", etc.
 are placed in the code segment.  This option is supported in large data or
flat memory models only, or if the item is explicitly "far".  The macro
__SW_ZC will be predefined if "zc" is selected.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson