如何在c语言中更改入口点main() [英] How to change the entry point main() in c langauge

查看:667
本文介绍了如何在c语言中更改入口点main()的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以给我解决方案,更改入口点而不是主要功能。

Can anyone give me the solution, for changing the entry point instead of main function.

推荐答案


可以任何人都给我解决方案,用于更改入口点而不是主要功能。
Can anyone give me the solution, for changing the entry point instead of main function.



为什么要这样做?

And why would you want to do that?


检查链接器选项。通常有一个选项可以指定入口点功能。 main()只是默认值。


如果您使用的是Visual Studio.NET,则选择项目属性 - >配置属性 - >链接器 - >高级和右侧窗格对话框的位置是入口点函数的名称。
Check your linker options. There is usually an option where you can specify the entry point function. main() is just the default.

If you are using Visual Studio.NET you select project properties->Configuration Properties->Linker->Advanced and on the right pane of the dialog is a place for the name of the entry point function.



检查链接器选项。通常有一个选项可以指定入口点功能。 main()只是默认值。


如果您使用的是Visual Studio.NET,则选择项目属性 - >配置属性 - >链接器 - >高级和右侧窗格对话框是入口点函数名称的位置。
Check your linker options. There is usually an option where you can specify the entry point function. main() is just the default.

If you are using Visual Studio.NET you select project properties->Configuration Properties->Linker->Advanced and on the right pane of the dialog is a place for the name of the entry point function.



抱歉延迟回复..我是开发人员,我们在Linux OS中开发应用程序,所以我想在linux中知道

sorry for delayed reply.. Im working as developer, we develop applications in Linux OS, so i want to know in linux


这篇关于如何在c语言中更改入口点main()的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆