1. 编译时出现如下错误:
    1>MSVCRTD.lib(crtexe.obj) : error LNK2019: 无法解析的外部符号 _main,该符号在函数 ___tmainCRTStartup 中被引用
  2. 右击项目,打开“属性”页

    VC2015编译小问题

  3. 更改上图红色框内容为/subsystem:windows。如果是刚开始默认的是/subsystem:windows
    则改为/subsytem:console

相关文章:

  • 2021-11-05
  • 2021-10-11
  • 2021-12-15
  • 2021-07-22
  • 2021-12-18
  • 2022-03-06
  • 2021-12-01
  • 2021-10-22
猜你喜欢
  • 2022-12-23
  • 2022-02-16
  • 2022-12-23
  • 2022-12-23
  • 2021-10-23
  • 2021-12-11
  • 2021-07-15
相关资源
相似解决方案