[NTLUG:Discuss] C questions

Will Senn will_senn at comcast.net
Mon Sep 19 11:34:56 CDT 2005


Fred,

regarding the first, // is not specified in the original ansi spec.
However, nearly all modern compilers support it. Dunno nuthin' 'bout the
second.

Will

Fred James wrote:

> All
> Can anyone confirm for me that
>    //
> is not an allowed syntax for a commnet line in ANSI C, please?
> (example:
>    // line of text
> should be
>    /* line of text */
> )
>
> Can anyone confirm for me that
>    _EXPORT is not a part of extern in ANSI C, please?
> (example:
>    extern _EXPORT DataTable*      createDataTable();
> should be
>    extern DataTable*      createDataTable();
> )
>
> Thank you in advance for any help you may be able to offer
> Regards
> Fred James
>
>
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss
>




More information about the Discuss mailing list