c++ - c ++无法在终端中获得输出
问题描述
终端没有输出
c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../libmingw32.a(main.o):(.text.startup+0xa0): 未定义引用`WinMain@16'
collect2.exe: error: ld returned 1 exit status PS C:\Users\pmalh\Desktop\c++> .a.exe .a.exe : 模块 '.a' 无法加载。有关更多信息,请运行“Import-Module .a”。在 line:1 char:1 + .a.exe + ~~~~~~~ + CategoryInfo : ObjectNotFound: (.a.exe:String) [], CommandNotFoundException + FullyQualifiedErrorId : CouldNotAutoLoadModule
解决方案
推荐阅读
- java - Firestore 分页最后一个可见文档抛出越界异常
- android - Android“权限失败”
- php - 不能将 PDOStatement 类型的对象用作数组
- scheme - 反转没有 Racket 中最后一个元素的列表
- python - 我可以发布一个导入的包以在 python 中节省内存吗?
- permissions - 应用程序导致 iOS 不断要求用户更改位置权限 - iOS13
- postgresql - 使用 postgres 函数调用时,Gorm 模型结构无法绑定值
- python - 为什么我告诉我的 Kivy 程序不更新字体大小?
- cypress - 如果赛普拉斯中的任何一项测试失败,则终止/跳过/停止所有规范文件中的所有测试
- postgresql - 设置默认全局 postgres 事务隔离级别