Neil and Piers, Thank you for replying... But the code still doesn't work, and I get the same error message.
Best, Yimeng -----Original Message----- From: Piers Harding [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 27, 2002 11:43 AM To: Yimeng Dou Cc: [EMAIL PROTECTED] Subject: Re: Simple Inline C Problem. Try it like this: use Inline C; greet(); __END__ __C__ void greet() { printf("Hello, world\n"); } Cheers. On Tue, Aug 27, 2002 at 11:12:53AM -0700, Yimeng Dou wrote: > I have this very simple inline C code, but somehow > it doesn't work. > > I receive "INIT failed--call queue aborted." when I run it. > > Here is the code, please help. Thanks! > > use Inline C; > __END__ > __C__ > void greet() { > printf("Hello, world\n"); > } > greet; > > > ------------------------------------------------- > Yimeng Dou > [EMAIL PROTECTED] > Department of Information and Computer Science > University of California, Irvine
