This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / 各位编程高手请进,谢谢。请问用VC++编程时,如果用到new来进行内存的分配,是否特别影响执行速度。我程序中的数组原先是30*30的,不用内存分配即可执行。可现在改成80*80的,就必须要用到内存分配,否则出错。原先运行程序只需要40多秒,可现在居然要一个半小时,太夸张了吧。请问会有这么大的差距吗?另外,如何能够提高执行的速度,恢复到原来的水平?谢谢。
-guest:;
2001-8-30
{309}
(#184601@0)
-
up and help please!!
-guest:;
2001-8-30
(#184637@0)
-
did you try C language? If the problem still exsits, you should check your algorithm
-guest:;
2001-8-30
(#185163@0)
-
什么类型的数组? 多半是算法问题,有否递归处理在你的程序中?
-takeoff(again);
2001-8-30
(#185261@0)
-
read it in 论坛热点区 I dont have good answer for that question
-scorpio(scorpio);
2001-8-30
(#185283@0)
-
你真的很帮忙了,衷心感谢你。check your mail.
-guest:;
2001-8-30
(#185295@0)
-
你的高见,谢谢了。具体情况见内。我的一个朋友说已经没办法简化算法了。
-guest:;
2001-8-30
{950}
(#185300@0)
-
I could do better if I knew what the issue is. Please read new source codes inside.
-doors(道士);
2001-8-31
{840}
(#185541@0)
-
Thank you for your help.You are really so kind!!!!!!!!!
-guest:;
2001-8-31
(#185975@0)
-
wow, try this way
check if the link exist /dev/diskette, or /dev/diskette0, this should point to /device/.... If the link looks ok, rm the file in /device... and 'reboot -- -r'. If null link, the floppy drive is bad.
-guest:bigbai;
2001-8-31
(#186173@0)
-
?????
-guest:;
2001-8-31
(#186178@0)
-
sorry, bug?! I was supposed to reply the topic below
-guest:bigbai;
2001-8-31
(#186181@0)