ChinaUnix.net
相关文章推荐:

注释符号

本帖最后由 yshihyu 于 2012-02-28 04:42 编辑 #include #define BSC // BSC ewrgwer int main(int argc, char *argv[]) { printf("Hello, world\n"); return 0; } 为什么这边无法编译? 谢谢

by yshihyu - C/C++ - 2012-02-28 12:52:57 阅读(3644) 回复(5)

相关讨论

有没有什么简洁通用的shell程序?

by simbafly - Shell - 2011-10-09 14:08:19 阅读(2855) 回复(7)

配置informix过程中,要修改/usr/informix/etc/sqlhosts文件: demo_on onipcshm on_hostname on_servername demo_se seipcpip se_hostname sqlexec 为什么每一行前面添加‘#’,却不能添加?我分别用root和informix用户都不能添加‘#’,不知什么原因?

by 光速 - 其他UNIX - 2010-08-15 07:57:23 阅读(2785) 回复(4)

本帖最后由 蓦然princes 于 2014-05-19 19:06 编辑 请问/etc/issue文件的注释符号是什么?? 我的意思是说编辑/etc/issue文件时注释符号是什么? 我用 “#”号,不对。不知道在哪里找帮主文档说明。。

by 蓦然princes - Linux新手园地 - 2014-05-18 20:07:33 阅读(925) 回复(0)

单行 多行 PHP # or // /* */ Delphi // {} Sql Server -- /* */ HTML à CSS /* */ PERL # 典型的 #是 unix风格的注释 /* */是 c风格的注释 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/51156/showart_453939.html

by tonywam1036 - php文档中心 - 2007-12-31 15:40:28 阅读(1204) 回复(0)
by yupp - SQL server - 2006-03-25 21:59:05 阅读(3092) 回复(3)

bash脚本中,#是注释符号 如果我要注释一段或连续几段的文字,用#号单独写在行首很麻烦 请问用什么符号可以注释掉N行的文字呢?就像c中/* ...... */的作用一样? 谢谢

by kelela - Shell - 2005-12-04 10:11:06 阅读(18205) 回复(16)
by Iamhwj - Shell - 2006-12-18 23:58:48 阅读(2195) 回复(2)

请教一下,"#"真个符号在python中除了注释之外还有其他作用吗? 例如:这两句话有什么特别的用法? #!/usr/bin/env python2.5 # -*- coding: utf-8 -*- 谢谢 [ 本帖最后由 XMourinho 于 2009-2-25 19:25 编辑 ]

by XMourinho - Python - 2009-02-26 09:04:03 阅读(3258) 回复(5)
by system_gong - C/C++ - 2007-11-10 02:51:43 阅读(3758) 回复(8)

注释是这样的 echo \# this is not a comment # but this is 注释echo "# this is not a comment" # but this is echo '# this is not a comment' # but this is echo "#" "not a comment" # this is echo "#" "not" "#" "a" "#" "comment" # but this is 如何删除红色的这些注释,但保留在特殊符号(‘’ “” \)内的有#的部分 结果应是这样的 echo \# this is not a comment echo "# this is not a comment" echo '# ...

by jessiefly - Shell - 2004-04-21 01:37:55 阅读(912) 回复(4)