sure. It'll help. But keep in mind that your new 80*80 is about 7 times of 30*30. Try to increase the dimension gradually to find out about how much memory you need.

zjoy (Joy)
(#185067@0)
2001-8-30 -05:00

回到话题: 请问用VC++编程时,如果用到new来进行内存的分配,是否特别影响执行速度。我程序中的数组原先是30*30的,不用内存分配即可执行。可现在改成80*80的,

回到论坛: HOME枫下论坛枫下论坛主坛工作学习IT杂谈

URL:   
http://www.rolia.net/zh/post.php?f=0&p=185067