“您仔细看看,这还不是翔?”
出处:
狗屁不通的“视频专辑:零基础学习C语言(小甲鱼版)”(2) 评论 20楼
在C语言的历史上,ISO一共有过3个C标准,相关条款如下:
ISO/IEC 9899:1990
The function called at propram startup is named main .The implementation declares no prototype for this function. It can be defined with no parameters
int main(void) { /*...*/ }
or with two parameters (referred to here as argc and argv. though any names may be used, as they are local to the tunction in which they are declared)
int main(int argc, char *argv[]) { /*. . . */ }
If they are defined,the parameters to the main function shall obey the following constraints
……
ISO/IEC 9899:1999
The function called at program startup is named main. The implementation declares no prototype for this function. It shall be defined with a return type of int and with no parameters:
int main(void) { /* ... */ }
or with two parameters (referred to here as argc and argv, though any names may be used, as they are local to the function in which they are declared):
int main(int argc, char *argv[]) { /* ... */ }
or equivalent;9) or in some other implementation-defined manner.
ISO/IEC 9899:2011:
The function called at program startup is named main. The implementation declares no prototype for this function. It shall be defined with a return type of int and with no parameters:
int main(void) { /* ... */ }
or with two parameters (referred to here as argc and argv, though any names may be used, as they are local to the function in which they are declared):
int main(int argc, char *argv[]) { /* ... */ }
or equivalent;10) or in some other implementation-defined manner.
总结:
“屌丝水平也敢在这大放厥词,简直逗”
这句话说的真TMD的好!“让我呵呵一笑”。傻B并不难得,难得的是傻B竟然敢于装B!
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 地球OL攻略 —— 某应届生求职总结
· 提示词工程——AI应用必不可少的技术
· Open-Sora 2.0 重磅开源!
· 周边上新:园子的第一款马克杯温暖上架
2011-11-23 无知乱吃药