什么是"清洁C"它是如何从标准C有什么不同? [英] What is "Clean C" and how does it differ from standard C?

查看:133
本文介绍了什么是"清洁C"它是如何从标准C有什么不同?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是C ++纯C和C之间的区别是什么?
我想了解一下清洁C'上Lua是基于一些细节。有谁知道这些功能?

What are the differences between pure C and C in C++? And I want to know some details about 'Clean C' on which Lua is based. Does anyone know these features?

推荐答案

清洁ç的是哈比森和放大器创造的术语;斯蒂尔书( C:参考手册,prentice厅)。一个程序被认为是写在清理C如果能能够通过一个标准的C编译器和标准C ++编译器编译;和它的执行不会产生来自两个不同的编译器观察到的行为(优化是无关的问题)。

Clean C is a term coined in Harbison & Steele book (C: A Reference Manual, Prentice Hall). A program is said to be written in Clean C if it can be compiled by a Standard C compiler and a Standard C++ compiler; and its execution would not produce different observable behavior from the two compilers (the issues of optimizations being irrelevant).

这篇关于什么是"清洁C"它是如何从标准C有什么不同?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆