[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnugo-devel] gnugo CPP
From: |
Bjørn Magnus Mathisen |
Subject: |
Re: [gnugo-devel] gnugo CPP |
Date: |
Thu, 26 Apr 2007 03:17:46 -0400 |
Hi
Nice work!
Why did u feel it necessary to convert to cpp though?
I have my cpp program interfaced to gnugo 3.7 and 3.6 through normal
procedure:
namespaced include of gnugo.h, Makefile edit with -l<package> etc..
I guess if you want the OOP part of, it makes sense.
regards
Bjørn Magnus Mathisen
Den 25. apr. 2007 kl. 02.29 skrev T.Yoshikawa:
Dear friends
In order to link gnugo-3.7.10 with my tumego processor which has been
written in cpp , I succeded to convert c files(gnugo-3.7.10 ) into cpp
under the cygwin.
The main works were
(1) change file name
/patterns/influence.c ==> influence2.cpp
/engine/endgame.c ==> endgame2.cpp
(2)
variables class changed to classx
variable new changed to newx
(3)
to put casting for malloc statements
(4)
simple Makefile
all source files in a single folder.
These files are placed in my site
http://otto4yoshi.dip.jp/yoshikawa/gn2.zip
Takeshiro Yoshikawa
_______________________________________________
gnugo-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/gnugo-devel