In article <[EMAIL PROTECTED]>,
 Thomas Bellman <[EMAIL PROTECTED]> wrote:

>Lawrence D'Oliveiro <[EMAIL PROTECTED]> writes:
>
>> "const" is in C89/C90.
>
>Although with slightly different semantics from in C++...  For
>instance:
>
>    static const int n = 5;
>    double a[n];
>
>is valid C++, but not valid C.

    enum
      {
        n = 5,
      };
    double a[n];

works in C.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to