本文介绍了不同的编译器,不同的文件大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
为什么不同的编译器输出不同的exec文件大小?
这只是在Windows平台上用C语言编写的一个"hello world"文件,我是c的新手,它探索了许多IDE,从而为我提供了不同的exec文件大小,
1st:我想知道为什么会这样,因为它是相同的代码,这正常吗?
第二:如果正常,什么是获得最小的exec文件大小的最佳编译器?
why do different compilers output different exec file sizes?
it is just a "hello world" file written in c language on windows platform, i am new to c, exploring many IDEs it gave me different exec file size,
1st: i am wondering why this happens because its the same code, is this normal?
2nd: if it is normal, what is the best compiler to get the smallest exec file size?
推荐答案
这篇关于不同的编译器,不同的文件大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!