跨平台开发--标准

本文探讨了跨平台开发中的C++标准,包括C++11(ISO/IEC 14882:2011)和C++标准模板库(STL)。讨论了Windows遵循的POSIX.1和ISO C标准头文件,并指出Windows API是在CRT(C运行时库)基础上发展起来的,同时微软的CRT部分参考了UNIX的POSIX标准。文章通过示例代码展示了如何使用_CRTAPI1和_CRTAPI2宏以及_CRT_SECURE_NO_WARNINGS预处理器指令来确保兼容性和安全性。最后,提到了Visual C++编译器在不同版本中C运行时库的演变。
摘要由CSDN通过智能技术生成

操作系统标准
POSIX.1-2008 又叫做 IEEE Std 1003.1?-2008,也叫做ISO/IEC 9945

http://www.lindevdoc.org/wiki/POSIX

Version/part of the spec IEEE Number Date of Publication Contents
POSIX.1 1003.1-1988 1988 Process management, signals, file and directory operations, timers, pipes + the standard ANSI C library
POSIX.1 edition 1990 1003.1-1990 1990 Approved by ISO as ISO/IEC 9945-1:1990
Amendment 1b (Real-Time Extensions) 1003.1b-1993 1993 Priority scheduling, real-time signals, clocks and timers, semaphores, message passing, shared memory, memory locking, asynchronous and synchronous I/O
Amendment 1c (Thread Extensions) 1003.1c-1995 1995 POSIX threads API
POSIX edition 1996 1003.1-1996 1996 Approved by ISO as ISO/IEC 9945-1:1996; incorporates amendments 1b, 1c
POSIX Real-Time Profile 1003.13-1998 1998  
Amendment 1d (Additional Realtime Extensions) 1003.1d-1999 1999  
POSIX.2 (Shell & Tools, User Portability Extensions) 1003.2-1999, 1003.2a-1999 1999  
Amendment 1g (Protocol Independent Interfaces) 1003.1g-2000 2000  
Amendment 1j (Advanced Realtime Extensions) 1003.1j-2000 2000  
Amendment 1q (Tracing) 1003.1q-2000 2000  
POSIX.26 (Device Control APIs) 1003.26-2000 2000  
POSIX.1 edition 2001 (also known as SUSv3) 1003.1-2001 2001 Incorporates amendments 1a, 1d, 1g, 1j, 1q. Merges POSIX.2 into the core standard. Includes the ISO C99 library.
POSIX.1 Technical Corrigendum 1 (System Interface) 1003.1-2002 2002 Full text is available
POSIX.1 Technical Corrigendum 2 (System Interface) 1003.1-2003 2003 Approved by ISO as ISO/IEC 9945:2003/Cor 1:2004. Full text is available.
POSIX.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值