一个指针的引用引发的血案
摘要:tes *ptes;tes *&gfunc(){return ptes;}以上是全局指针 tes *ptemp = gfunc();delete ptemp;ptemp = new tes;这里犯了个错误,以后再次调用 gfunc访问ptes 时,东西已经清理掉了,程...
阅读全文
posted @ 2014-05-29 23:06
posted @ 2014-05-29 23:06
posted @ 2014-05-13 23:11
很全面了,用来临时测试确实挺不错的
ClassLoader.getSystemResourceAsStream 也可以,
不过getProperty 取不到 2级嵌套以上的属性
学习~
请问为什么我建一个联合索引,和你实验二的结果不一样呢?