Xunhao Zhang
Xunhao Zhang
用 c风格的字符串比较 还是会相等的, 比较的还是 字符
原题:给定指针 p,你能知道它是否指向了一个合法的对象吗?如果能,叙述判断的思路;如果不能,也请说明原因。 我的看法: 把 `if(p)` 放在 `try `中 , 当程序块顺利执行时,表示p指向了合法的对象;当程序块出错跳转到catch语句时,表示p没有指向合法的对象。 答案思路来源- 牛客网 [https://m.nowcoder.com/questionTerminal?uuid=3c218c5306324eaf9de45a74932f0b9e](url)
p.get() return int* , but can't implicit conversion a int* to a smart pointer. 
404
兄弟,文件404, md文档都是空的了。 非常期待你的内容,最近我也在学习grbl的框架