Home
Sign Up
Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
V2EX
›
程序员
怎么同时检查两或多个指针不为 NULL?
1
heiher
·
heiher
·
Apr 29, 2014
· 3634 views
This topic created in 4423 days ago, the information mentioned may be changed or developed.
想在尽可能少引入分支指令的情况下,同时检查两或多个指针不为 NULL,有什么好方法吗?
null
指针
多个
2 replies
•
2014-04-29 15:16:58 +08:00
1
YouXia
Apr 29, 2014
只能一个一个的判断,但如果指针必须都不为空,才能继续流程的话,可以用 &&。
2
delphij
Apr 29, 2014
| .
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
980 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 30ms ·
UTC 22:22
·
PVG 06:22
·
LAX 15:22
·
JFK 18:22
♥ Do have faith in what you're doing.
❯