社区
新手乐园
帖子详情
Windows Application和Windows Console Application 的区别
LTheMiracle
2012-11-05 10:30:57
编译一个程序时出现了unresolved external symbol _WinMain@16这个错误,百度百科有一条是说,Windows Application和Windows Console Application没弄对。所以请大神们告诉我,这两个有什么区别。多谢了!!!
...全文
1087
6
打赏
收藏
Windows Application和Windows Console Application 的区别
编译一个程序时出现了unresolved external symbol _WinMain@16这个错误,百度百科有一条是说,Windows Application和Windows Console Application没弄对。所以请大神们告诉我,这两个有什么区别。多谢了!!!
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
6 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
LTheMiracle
2012-11-07
打赏
举报
回复
1
多谢楼上大神指点!我的水平没那么高深,不懂得图形库,只需知道一直用的是console,就可以了。不过大家的回答让我长了不少知识。谢谢!!!
p050839
2012-11-05
打赏
举报
回复
Console 不涉及 WindowsGUI之类图形显示的API,纯黑框。Windows Application 只要不用那些,也可以称为Console
图灵狗
2012-11-05
打赏
举报
回复
简单来说Windows Application的主函数是WinMain,而Windows Console Application的主函数是main。
JiMoKuangXiangQu
2012-11-05
打赏
举报
回复
1
区别比较多. 如,WinMain()传递命令行参数的方式和main()不一样,WinMain()入口程序需调用函数来获命令行参数,而main()直接从参数传递进来,这方面可以读一读<<Windows核心编程>>. 至于你遇到的问题,可以通过: 1. 重新建立工程: 如果你的main()入口函数,则建立Windows Console Application; 否则建立Windows Application. 2. 在现有工程上修改配置: Properties -> Configuration Properties -> Linker -> System -> SubSystem 根据你应用程序的入口为分别设置为: Windows (/SUBSYSTEM:WINDOWS) 或者 Console (/SUBSYSTEM:CONSOLE).
liangsheniscoming
2012-11-05
打赏
举报
回复
console的运行环境是黑框,标准的C/C++程序输出框!Windows Application就以开发出标准的在Windows上运行的窗口程序!
xiaoyaoxiaonizi
2012-11-05
打赏
举报
回复
console不包含图形库,只能使用基本的c++函数。不带console,MFC会帮你包含好图形库,能够直接可视化编程,能够调用系统的api。
Console
Application
1_
windows
_
获取各种系统信息(版本号等),磁盘信息,内存信息等
VMware Remote
Console
10.0.4 for
Windows
VMware Remote
Console
10.0.4 for
Windows
VMware Remote
Console
provides
console
access and client device connection to VMs on a remote host. You will need to download this installer before you can launch the external VMRC
application
directly from a VMware vSphere or vRealize Automation web client.
Console
Application
4.v11.s
Console
Application
4.v11.s
Console
Application
1.sln
Windows
Forms第六章项目上机练习点餐系统 开发
Windows
Forms Barcode Generator for .NET
Barcode for .NET WinForms is developed for .NET
Windows
Forms project developers. This professional .NET barcode library can be integrated into
Windows
application
,
Console
application
, and .NET reporting
application
s.
新手乐园
33,319
社区成员
41,774
社区内容
发帖
与我相关
我的任务
新手乐园
C/C++ 新手乐园
复制链接
扫一扫
分享
社区描述
C/C++ 新手乐园
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章