VC6.0 報錯:error LNK2001: unresolved external symbol _clrscr
報錯提示
error LNK2001: unresolved external symbol _clrscr
報錯程式碼
#include<stdio.h>
void main()
{
int x,y,z;
clrscr();
printf("---------------------------------------------\n");
for(x=1;x<=3;x++)
for(y=1;y<=3;y++)
for(z=1;z<=3;z++)
if(x!=1&&x!=3&&z!=3&&x!=y&&x!=z&&y!=z)
{
printf(" X will marry to %c.\n",'A'+x-1);
printf(" Y will marry to %c.\n",'A'+y-1);
printf(" Z will marry to %c.\n",'A'+z-1);
}
printf("---------------------------------------------\n");
printf(" Press any key to quit...");
getch();
}
解決方法
將 clrscr() 替換為 system(“CLS”)
相關文章
- 模板例項化函式連結出錯:error LNK2019: unresolved external symbol函式ErrorSymbol
- error LNK2019:unresolved external symbol *** referenced in function ***的解決方案ErrorSymbolFunction
- Visual Studio 2019 使用模板類定義和實現分離時,在主函式中引用標頭檔案編譯報錯 Error LNK2019 unresolved external symbol函式編譯ErrorSymbol
- docker 報錯 Error response from daemon: driver failed programming external connectivity on endpoint my...DockerErrorAI
- vipca報錯 Error 0PCAError
- psql: symbol lookup error: ./psql: undefined symbol: PQsetErrorContextVisibilitySQLSymbolErrorUndefinedContext
- ORA-00800: soft external errorError
- ERROR 1045 (28000): ProxySQL Error: 報錯ErrorSQL
- MYSQL SOURCE報錯 ERROR: ASCIIMySqlErrorASCII
- mysql報錯ERROR 1093MySqlError
- 【Redis】slaveof 報錯 Background transfer errorRedisError
- Oracle安裝報錯syntax errorOracleError
- struts2報Error filterStart錯ErrorFilter
- 網站報錯:“Database Server Error”網站DatabaseServerError
- QT DirectShowPlayerService::doSetUrlSource: Unresolved error code 0x800c000d ()QTError
- Ubuntu 系統 apt 報錯:relocation errorUbuntuAPTError
- pip install scrapy報錯:error: UnableError
- MySQL報錯 Error_code: 1045MySqlError
- 反序列 unserialize(): Error 報錯問題Error
- weblogic報錯: OPatch failed with error code 73WebAIError
- redis報錯Windows error 0x70RedisWindowsError
- vc6.0程式除錯技術總結除錯
- PHP呼叫webservice遇到 Soap WSDL Error - "failed to load external entityPHPWebErrorAI
- 如何解決偶然Maven專案中匯入依賴,卻一直報錯,unresolved dependencyMaven
- R語言ggsurvplot繪製生存曲線報錯 : object of type ‘symbol‘ is not subsettableR語言ObjectSymbol
- ld: 0711-317 ERROR: Undefined symbol: .ha*ErrorUndefinedSymbol
- ogg報錯error 11, Resource temporarily unavailableErrorAI
- ElasticSearch啟動報錯 ERROR: [4] bootstrap checks failedElasticsearchErrorbootAI
- cmake報錯CMake Error: Could not find CMAKE_ROOTError
- linux系統報錯AER PCIe Bus ErrorLinuxError
- 執行flutter run命令報錯::ERROR: Could not connect to lockdownd, error code -17FlutterError
- [Javascript] Symbol vs Symbol.forJavaScriptSymbol
- 使用Boost庫報error C4996錯誤Error996
- win10 驅動簽名 報錯,Error =52Win10Error
- lsnrctl啟動報錯,Linux Error: 29: Illegal seekLinuxError
- Mysql報錯Fatal error:Can't open and lock privilege tablesMySqlError
- [iOS]提交App報錯ERROR ITMS -90207iOSAPPError
- PHP報錯:?configure: error: Cannot find libmysqlclientPHPErrorIBMMySqlclient