Author: Peter Skinner
Date: 09:29:35 11/16/02
Go up one level in this thread
On November 16, 2002 at 11:45:27, Bob Durrett wrote: > >I'm Confused. C, C++, C#. Which to Use? > >I have an old Visual C++ compiler which I purchased many ago. But bulletins >posted here seem to favor C, as opposed to C++ as if C is better than C++ for >chess engine programming. > >Still trying to find the best C compiler to use for chess engine design on my >Compaq 1 GHz 1GB RAM single-processor PC. > >Tried to download one but got error message saying NO! > >Yahoo! seems to find C++ compilers but not C compilers. > >Sorry for sounding like a child. : ( > >Bob D. About 2 to 3 years ago I wanted to write a program as well. Since I had no clue where to start I based my engine off the GNUChess 4 source. I was learning C the same time so it was nice to have a code to start off of. After 3 years I would never try to start from scratch. There are two main reasons: 1. I am not a very skilled programmer. I can implement things, but I ask a million questions like yourself, and there is nothing wrong with that. People here are great with answering questions. The answers I have recieved through this board and the Crafty mailing list have helped immensely. 2. Time. I don't have much time to program. Starting an engine from scratch takes an incrdible amount of time. I would suggest that you look at some sources to understand the different structures that Gerbil, Crafty, GnuChess anything that has published source code. That helped me quite a bit. Those authors who _have_ put the time in to start from scratch give the code out for people to learn from and I am grateful. Personally if you want to write an engine, I would start in C. Most compiler that are for C++ are C complilers anyway. I prefer the Visual Studio from MS as the MSDN library has some great code examples to look at. That's my two cents. Peter.
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.