共用方式為


嚴重錯誤 C1071

在註解中找到未預期的檔案結尾

備註

編譯程式在掃描批注時到達檔案的結尾。

透過檢查下列可能原因進行修正

  1. 遺漏批注終止符 (*/)。

  2. 在來源檔案最後一行的批注之後遺漏換行符。

範例

下列範例會產生 C1071:

// C1071.cpp
int main() {
}

/* this comment is fine */
/* forgot the closing tag        // C1071