Author: Andreas Guettinger
Date: 10:10:13 11/16/03
Go up one level in this thread
On November 16, 2003 at 13:06:13, Dieter Buerssner wrote: >On November 16, 2003 at 12:01:26, Andreas Guettinger wrote: > >>I'm currently rewriting my engine (1st revision) and redesign it for multiple >>threads. Currently I'm stuck again in the fen parser. I want to split the fen >>that is stored in a string into several tokens. Now I don't know, do I have to >>use strtok_r() or is strtok() still ok? > >strtok should be ok, when it can only be used in one thread. > >Perhaps you will find it easier, to not use strtok at all, and just start >parsing the FEN character wise (you probably do this anyway after tokenizing). > >Regards, >Dieter Yes, I currently do it without strtok(), but I thought I could simplify it by cutting it at '\' and ' '. Thanks anyway. Andy
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.