关于C编程 [英] About C Programming
本文介绍了关于C编程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
c和目标c有什么区别.... ?????
两者是否相同?
解决方案
< blockquote>没有。
快速谷歌会告诉你: c和objective c之间的差异 [ ^ ]目标C是超集of C.
Objective-C 一个薄层 on top C,和此外 C的严格超集;它 可能 编译任何 C程序 一个Objective-C编译器,和 到在Objective-C类中自由包含C代码。
Objective-C从 Smalltalk派生其对象语法。 所有 语法 非对象面向操作(包括原始变量,预处理,表达式,函数声明,和 function 调用) C,而语法用于面向对象的功能 an实现 Smalltalk风格的消息
更多信息,请阅读此
http://stackoverflow.com / questions / 13153140 / objective-cc-and-c之间的主要差异是什么[ ^ ]
What is the difference between c and objective c....?????
Is the both are same?
解决方案
No.
As a quick google would have told you: difference between c and objective c[^] Objective C is a superset of C.
Objective-C is a thin layer on top of C, and moreover is a strict superset of C; it is possible to compile any C program with an Objective-C compiler, and to freely include C code within an Objective-C class. Objective-C derives its object syntax from Smalltalk. All of the syntax for non-object-oriented operations (including primitive variables, pre-processing, expressions, function declarations, and function calls) are identical to that of C, while the syntax for object-oriented features is an implementation of Smalltalk-style messagin
more information read this
http://stackoverflow.com/questions/13153140/what-are-the-major-differences-between-objective-c-c-and-c[^]
这篇关于关于C编程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文