avatar
Re: The real Risk# Java - 爪哇娇娃
a*o
1
Yeah. In C++, by default, you don't check array bound. So if
your refer an invalid address, it depends on OS. (who knows
whether Windows can always handle this). And if you refer a
valid address(valid to your process, but not valid to your
operation, say, int a[2]; strcpy(a, "xxxxxx"); you will
never know what happens. It may take you long time to debug.
So from debugging issue, Java is better than C++, I have to
admit.
From runtime, it depends. Of course everbody hope their
software to be bug-f
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。