閱讀英文

共用方式為


註單和其他資源

RC 支援單行批注和區塊批注的 C 樣式語法。 單行批注會以兩個正斜線 (/20)開頭,然後執行到行尾。 以下是資源語句的範例,後面接著單行批注。

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"
//...