Computer Chess Club Archives


Search

Terms

Messages

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

Author: Oliver Roese

Date: 21:06:13 04/10/02

Go up one level in this thread


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



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.