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
gnugo-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/gnugo-devel



_______________________________________________
gnugo-devel mailing list
gnugo-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/gnugo-devel

Reply via email to