if(NULL == thing){} as a sanity check. When (by mistake) writing == as = , if(thing = NULL){} is error-prone yet valid C code.. while if(NULL = thing) is a compilation error.…
if(NULL == thing){} as a sanity check. When (by mistake) writing == as = , if(thing = NULL){} is error-prone yet valid C code.. while if(NULL = thing) is a compilation error.…
讨论
登录后参与讨论
还没有评论,来说第一句吧。