首页 > 编程语言 >(待完善)C/C++ Language Standard

(待完善)C/C++ Language Standard

时间:2023-10-14 20:44:47浏览次数:44  
标签:Language C++ standard ANSI version ISO Standard was



C89/C90 (ANSI C or ISO C) was the first standardized version of the language, released in 1989 and 1990, respectively
C99 (ISO/IEC 9899:1999)
C11 (ISO/IEC 9899:2011)
C18 (ISO/IEC 9899:2018)

The first version of C was called "A System Programming Language" and was released in 1972. The language quickly gained popularity and was used to write the Unix operating system and other system software.

In 1978, Brian Kernighan and Dennis Ritchie published a book titled "The C Programming Language"

The first standard for C was published in 1989 and was known as ISO/IEC 9899:1990

Original C (1972)
The first version of C was developed by Dennis Ritchie at Bell Labs and was used to rewrite the Unix operating system and its utilities.

K&R C (1978)
The first book on C, "The C Programming Language," was written by Brian Kernighan and Dennis Ritchie and became widely known as "K&R C." This version of C became widely used and formed the basis for the ANSI standard.

ANSI C (1983)
The American National Standards Institute (ANSI) standardized C in 1983, defining a standard syntax and library that would be recognized and supported by all manufacturers and users.

ISO C (1989)
The International Organization for Standardization (ISO) adopted the ANSI C standard in 1989, further promoting the language's portability and standardization.

C89/C90
The ISO standard for C was often referred to as "C89" or "C90."

ANSI/ISO C (1999)
In 1999, the ISO C standard was updated to include new features, such as improved type checking, function prototypes, and improved memory management. This updated version of the standard is often referred to as "ANSI/ISO C."

C11 (2011)
In 2011, the ISO C standard was updated again, adding new features such as multi-threading support and atomic operations. This version of the standard is often referred to as "C11."

C17 (2018)
The ISO C standard was updated again in 2018, adding new features such as improved support for multithreading and improved memory safety. This version of the standard is often referred to as "C17."

Reference

标签:Language,C++,standard,ANSI,version,ISO,Standard,was
From: https://www.cnblogs.com/hongyugao/p/17764691.html

相关文章

  • 使用c++语言基于QT框架设计的计算器小程序
    (注:由于从未接触软件设计,后端代码也是一塌糊涂,对于一些先进的设计软件也未曾接触,如qt,vs创建MFC文件,故本次作业最大难点在于如何将已经学习的知识和未接触过的领域结合起来。秉承程序员基本素养,利用一切可以利用的资源(感谢所有开源大佬所做的贡献),如bilibili,csdn,博客园,github,......
  • C++基本算法大致总结
    排序算法:快速排序(QuickSort):使用std::sort或自定义实现。归并排序(MergeSort):自定义实现或使用std::stable_sort。堆排序(HeapSort):自定义实现或使用std::make_heap和std::sort_heap。搜索算法:二分查找(BinarySearch):使用std::binary_search或自定义实现。线性......
  • 【华为OD统一考试B卷 | 100分】 报数问题 (1到3报数)(C++ Java Python javaScript)
    华为OD在线刷题平台平台涵盖了华为OD机试A卷+B卷的真题。平台的题库不断更新,确保能够涵盖华为OD机试的所有真题。点击链接注册并开始你的刷题之旅:点击立即刷题华为OD统一考试A卷+B卷新题库说明2023年5月份,华为官方已经将的2022/0223Q(1/2/3/4)统一修改为OD统一考试(A卷)和OD统......
  • 抽象工厂模式--C++实现
    具体代码实现#include<iostream>usingnamespacestd;classMan{public:virtualvoidshow()=0;};classWoman{public:virtualvoidshow()=0;};classYellowMan:publicMan{public:virtualvoidshow(){cout<<"......
  • C++四舍五入
    C++四舍五入1.利用C++输出函数cout<<setprecision(4)<<1.94999<<endl;只使用setprecision:控制浮点数的输出位数,注意控制的是总输出的数字个数,不是小数点后,并且将默认将小数后面的末尾0省略,并且将四舍五入cout<<fixed<<setprecision(2)<<1.48999<<endl;使用fixedsetprecisi......
  • 大一上学期程序设计笔记_C++
    罕见的数据类型枚举类型   enum枚举类型名T{Sunday=1,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday};            枚举类型名T  变量表枚举类型只能进行赋值和比较运算。不能把整数赋给枚举型变量。枚举内部的元素会从0开始连续编码。类......
  • C++大整数类
    用法把头文件和源代码文件放在同一目录下,然后#include"INT"即可使用。你能对int类的变量进行a=2,a+=3,a%8,a--等等操作,那你就也能对INT进行。INT基于vector,可以实现存储任意大的整数,且利用动态内存机制不会多浪费一点空间类声明classINT{ public: INT(); template<class......
  • 「闲话随笔」 C++ namespace K8He-Math version -1.0.0 is officially released!
    C++namespaceK8He-Mathversion-1.0.0isofficiallyreleased!写着玩的,不清楚是否有实用价值,看个乐就行,别D.有Bug可以自己调(怎么用感觉比较好看出来.namespaceMATH{ namespaceType{ usingi32=int; usingi64=longlong; usingu32=std::uint32_t;......
  • 5381: C++实验:STL之search
    描述  使用STL中的search函数,判断一个序列是否是另一个序列的子序列。部分代码已经给出,请补充完整,提交时请勿包含已经给出的代码。  C++intmain(){vector<int>vec1,vec2;intn,m,a;cin>>n>>m;while(n--){cin>>a;......
  • 5383: C++实验:STL之multimap
    描述  使用STL中的multimap记录用户的所有电话号码,yuyu想查询用户有多少个电话号码,crq则想查询时输出所有的号码。部分代码已经给出,请补充完整,提交时请勿包含已经给出的代码。 C++intmain(){ multimap<string,string>sm; stringname,phone; intn; cin>>......