如何评论? [英] how to coment?

查看:60
本文介绍了如何评论?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何?

C中的

是//和/*

解决方案

您可以具有使用/*和*/的块注释. >

同一批中这两个标记之间的所有内容都将被忽略,

或者,一行可以以- 开头而该行的其余部分将被忽略.

请始终告诉我们您使用的是什么版本.

在线图书应该永远是您寻找答案的第一位:

http://msdn.microsoft.com/en-us/library/ms188621.aspx


how?

in C is // and /*

解决方案

You can have a block comment which uses /* and */

Everything between those two markers in a single batch is ignored,

or, a single line can start with --  and the rest of that line is ignored.

Please always tell us what version you are using.

The Books Online should always be the first place you look for answers:

http://msdn.microsoft.com/en-us/library/ms188621.aspx


这篇关于如何评论?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆