[galib] Can I output the statistics to a file in my MFC project

zhq zhq527725 at 126.com
Mon Mar 15 09:22:03 EST 2004


I find,in ex9,the scores will output to the file "bog.dat" every 10 generations. Now I want to apply this funcion to my MFC project. But the functon "GAStatistics::writeScores()" cannot work correctly, there will be a exception.
I find gademo and tspdemo don't output scores to a file. This function cannot be used in any MFC project?
Please help me!
Thank you!

==============================================°²È«Îȶ¨´óÈÝÁ¿£¬´ó¸½¼þÊÕ·¢, È«¹ú×î´óµÄÃâ·ÑÓÊÏä@126.com!ÂíÉϵ½http://www.126.comÉêÇë25MÃâ·Ñ´óÈÝÁ¿ÓÊÏä!ÌṩÐÂÓʼþµ½´ïÊÖ»ú¶ÌÐÅÌáÐѹ¦ÄÜ, ËæʱÕÆÎÕÓʼþÐÅÏ¢!


More information about the galib mailing list