| 
     
      
      
      From: RENARD P. <Phi...@un...> - 2006-08-25 22:08:11
      
     
   | 
Just so that nobody lose too much time on my previous mail. Ting found
the error and it is corrected. The problem was that the eof character,
read in the input file, was copied in the string. The parser had an
error because of that.
The solution is to read the file with that loop:
	while ( true ) {
		c =3D paramfile.get();
		if( paramfile.eof() ) break;
		simul_parameter_string+=3Dc;
	}
I still have the problem of modifying the parameters. I will do it brute
force by searching and replacing words in the string. But if someone has
a better idea, it would be great !
Best, Philippe
 |