可能重复: main()是否真的启动了C++程序?
可以在程序启动前调用我的函数吗?我该怎么做这项工作C++还是C?
C++
C
c c++ program-entry-point startup
c ×1
c++ ×1
program-entry-point ×1
startup ×1