注释(菜单和其他资源)
RC 支持单行注释和块注释的 C 样式语法。 单行注释以两个正斜杠(//)开头,并运行到行尾。 下面是一个资源语句的示例,后跟单行注释。
NewCursor CURSOR NEW.CUR // a new cursor for the application.
阻止注释以左分隔符(/*)开头,并运行到结束分隔符(*/)。 注释不嵌套。 下面是 .rc 文件开头的块注释示例。
/*
Resources.Rc
Contains the resource definitions for the application.
Control identifiers are defined in Resources.h.
*/
#include "resources.h"
//...