On Sun, Feb 17, 2002 at 07:35:24AM +0100, Philip Newton wrote:
> On Sun, 17 Feb 2002 09:42:55 +1100, [EMAIL PROTECTED] (Andrew Savige)
> wrote:
>
> > you have a choice of 3 different languages (Perl, C or C++). ^.^
>
> Well, not really C since you rely on '//' introducing a
> comment-to-end-of-line. That's a C++-ism which some C compilers support
> but which isn't part of the C standard.
oh yes it is.
http://wwwold.dkuug.dk/JTC1/SC22/WG14/www/newinc9x.htm
and
http://home.datacomm.ch/t_wolf/tw/c/c9x_changes.html
// we are working on some platform where hash and curlies are not allowed
%: include "stdio.h"
int
main () /* return type must always be declared nowadays. */
<%
printf("running function %s...\n", __func__);
char s[] = "Hello, C9X... how strange it feels now.\n";
for (char *p = s; *p; p++) <%
putchar(*p);
>%
return 0;
>%