c/c++运行期启动代码是什么东东???

simonzone 2002-03-26 10:32:14
c/c++运行期启动代码是什么东东???
怎么通过它,主线程才会启动?
...全文
78 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
myan 2002-03-26
  • 打赏
  • 举报
回复
如果你装了VC,那么应该会有Microsoft C Runtime Library 的源代码,其中有一个文件,叫crt0.c,其中包括了C启动代码。去看看便知分晓。
hcpp 2002-03-26
  • 打赏
  • 举报
回复
在Windows 系统下:c/c++运行期启动代码的任务:
1.Get the full Win32 version;
2,initialize heap;
3.initialize lowio;
4.get cmd line info;
5.get environ info;
6.create the argv array for C programs;
7.do C data initialize ;
8.Call main function to start user code;
9.Call exit function to stop this process:
The 8 step call main(...)to startup mainprocess.
jyc_nj 2002-03-26
  • 打赏
  • 举报
回复
关注up

69,377

社区成员

发帖
与我相关
我的任务
社区描述
C语言相关问题讨论
社区管理员
  • C语言
  • 花神庙码农
  • 架构师李肯
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧