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 *** referenced in function ***的解決方案ErrorSymbolFunction
- Visual Studio 2019 使用模板類定義和實現分離時,在主函式中引用標頭檔案編譯報錯 Error LNK2019 unresolved external symbol函式編譯ErrorSymbol
- psql: symbol lookup error: ./psql: undefined symbol: PQsetErrorContextVisibilitySQLSymbolErrorUndefinedContext
- ORA-00800: soft external errorError
- ERROR 1045 (28000): ProxySQL Error: 報錯ErrorSQL
- QT DirectShowPlayerService::doSetUrlSource: Unresolved error code 0x800c000d ()QTError
- 【Redis】slaveof 報錯 Background transfer errorRedisError
- 網站報錯:“Database Server Error”網站DatabaseServerError
- pip install scrapy報錯:error: UnableError
- Ubuntu 系統 apt 報錯:relocation errorUbuntuAPTError
- weblogic報錯: OPatch failed with error code 73WebAIError
- ogg報錯error 11, Resource temporarily unavailableErrorAI
- 反序列 unserialize(): Error 報錯問題Error
- Oracle dataguard報錯:Error 1017 received logging on to the standbyOracleError
- linux系統報錯AER PCIe Bus ErrorLinuxError
- 執行flutter run命令報錯::ERROR: Could not connect to lockdownd, error code -17FlutterError
- R語言ggsurvplot繪製生存曲線報錯 : object of type ‘symbol‘ is not subsettableR語言ObjectSymbol
- C++ VS單例模式報 錯誤 LNK2001 無法解析的外部符號 private: static class SingletonPattern錯誤C++單例模式符號
- appium start session 時報錯 Error executing adbExec. Original error 求指點APPSessionError
- VUE: npm run dev報錯Error: error:0308010C:digital envelope routines::unsupportedVueNPMdevErrorGit
- 如何解決偶然Maven專案中匯入依賴,卻一直報錯,unresolved dependencyMaven
- error C4996: 'std::_Uninitialized_copy0':與錯誤 LNK2001 無法解析的外部符號 "private: static class std::allocatorError996Zed符號
- QT 自定義外掛問題 error: LNK2001: 無法解析的外部符號QTError符號
- cmake報錯CMake Error: Could not find CMAKE_ROOTError
- MySQL 啟動報錯 error while loading shared librariesMySqlErrorWhile
- 使用Boost庫報error C4996錯誤Error996
- 【ERROR】su user報'This account is currently not available'錯誤 for linuxErrorAILinux
- ssh-add 報錯:Error connecting to agent No such file or directoryError
- ElasticSearch啟動報錯 ERROR: [4] bootstrap checks failedElasticsearchErrorbootAI
- GTID複製報錯處理:Last_Error: Error 'Can't drop database 'test';ASTErrorDatabase
- win10 驅動簽名 報錯,Error =52Win10Error
- rabbitMq的status報錯Error: unable to perform an operation on node ‘rabbit……MQErrorORM
- AndroidStudio編譯時報錯Error:Please select Android SDKAndroid編譯Error
- MySQL建立觸發器時報錯Error Code: 1064MySql觸發器Error
- 19c ADG報錯Error 1094 attaching to RFS for reconnectError
- [Javascript] Symbol vs Symbol.forJavaScriptSymbol
- MySQL 5.6複製報錯Error_code: 1032; handler error HA_ERR_KEY_NOT_FOUND;MySqlError
- ubuntu下pig報錯ERROR 2999: Unexpected internal error. Failed to create DataStorage的解決UbuntuErrorAIAST