Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
if(c.get_name(&name) && name && !strcmp(name, contName))
有人可以告诉我这条线在 C++ 中的含义吗
如果c有一个名字并且它等于contName然后......
c
contName
如果c有名字 - c.get_name(&name) && name- 获取c名字并确保它存在。 它等于contName - && !strcmp(name, contName)-strcmp返回 0 表示相等。
c.get_name(&name) && name
&& !strcmp(name, contName)
strcmp
我已经搜索了很多但仍然没有机会,有没有办法在 echo HTML 中调用 php 函数?
我也试过这个,但没有奏效。
<?php echo <<<HTML [HTML PARTS..] <td colspan="2">its function: <? $z = func($x); echo $z