Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: smallest C or C++ open-source program?

Author: Russell Reagan

Date: 08:49:47 04/11/02

Go up one level in this thread


On April 11, 2002 at 00:16:19, pavel wrote:

>On April 11, 2002 at 00:06:13, Oliver Roese wrote:
>
>>On April 10, 2002 at 19:30:04, Dave Gomboc wrote:
>>
>>>I guess this might well be TSCP... which others are fairly small?
>>>
>>>Dave
>>
>>This is one is small but less useful;
>>
>>/*
>>    This program is free software; you can redistribute it and/or modify
>>    it under the terms of the GNU General Public License as published by
>>    the Free Software Foundation; either version 2 of the License, or
>>    (at your option) any later version.
>>
>>    This program is distributed in the hope that it will be useful,
>>    but WITHOUT ANY WARRANTY; without even the implied warranty of
>>    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
>>    GNU General Public License for more details.
>>
>>    You should have received a copy of the GNU General Public License
>>    along with this program; if not, write to the Free Software
>>    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
>>*/
>>#include <stdio.h>
>>
>>int main(void) {
>>  printf("Hello World!");
>>  return 0;
>>}
>>
>>
>>Have Fun
>>Oliver
>
>
>I thought he meant chess program.
>I doubt if this program can play chess ;).
>
>Interesting, which one is bigger? The Gnu Public Licence that comes with the
>program or the program itself?
>
>pavs ;)

In addition, I don't know that anyone has the explicit rights to the hello world
program. I could be wrong of course. Maybe Dennis Ritchie? Or were hello world
programs around before The C Programming Language was first published?

Russell



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.