目前分類:C++ (2)

瀏覽方式: 標題列表 簡短摘要

VC++最常見的20種編譯錯誤訊息

本文章來自::: PCTartarus 地獄電腦 ::www.pctartarus.com

作者:pcesadmin 您是本文章第885個閱讀者


1、fatal error C1010: unexpected end of file while looking for precompiled header directive。

wenshon 發表在 痞客邦 留言(0) 人氣()

 

引述

編譯錯誤:fatal error C1010: unexpected end of file while looking for precompiled header directive
fatal error C1010: unexpected end of file while looking for precompiled header directive 如果你用 Microsoft Visual C++ 編寫 C++ 時,應該常常看到這個錯誤訊息,尤其是將網路上抓到的 C++ 程式直接加到 VC 中編譯,就會出現這個訊息,或是你是建立一個新的 Win32 Console Application 應用程式,然後將 #include "stdafx.h" 註解掉,如下:

wenshon 發表在 痞客邦 留言(0) 人氣()