POV-Ray : Newsgroups : povray.off-topic : You thought 4K graphics demos were impressive? : Re: You thought 4K graphics demos were impressive? Server Time
5 Sep 2024 13:14:35 EDT (-0400)
  Re: You thought 4K graphics demos were impressive?  
From: Jim Henderson
Date: 29 Aug 2009 14:46:00
Message: <4a997768$1@news.povray.org>
On Sat, 29 Aug 2009 14:22:40 -0400, Warp wrote:

> Jim Henderson <nos### [at] nospamcom> wrote:
>> Yes, it would be a valid .c file because a library doesn't need to have
>> a main() function.
> 
>   Have you checked that the C standard agrees with you?

And further, a multi-file C program doesn't require that every .c file 
have a main() function defined.  Therefore, having a .c file that has no 
main() function in it *is* valid.

Jim


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.