C ++编译器之间的差异 [英] Difference Between C++ compilers

查看:83
本文介绍了C ++编译器之间的差异的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

borland c ++和turbo c ++与dev c ++有什么区别

what is difference between borland c++ and turbo c++ and dev c++

推荐答案




TC ++ =较旧的Borland C/C ++编译器.这可以追溯到DOS.
VC ++ = Microsoft C/C ++编译器.微软在DOS消失的时候就开始了VC系列.
Borland C ++ = Borland C/C ++编译器.可以引用任何Borland编译器.
Linux C ++ =否.可能是对GNU C/C ++编译器的引用.这是一个非常好的免费编译器,因此它是大多数Linux发行版甚至Unix的某些商业版本的默认标准C/C ++编译器.

在使用C或C ++程序的情况下,上述所有C/C ++编译器都将做相同的事情. Borland有它自己的特殊类,并且在许多方面,它是比Microsoft更好的编译器.根据您所使用的编译器版本,可能会存在兼容性问题,具体取决于开发人员所遵循的标准.上述示例中的某些编译器可能会以原始的K& R C语法为例.

C#是Microsoft开发的C ++的安全"版本.有时将它描述为C ++,但没有所有可能损害操作系统的内容. C#几乎不会失败.许多Windows开发人员正在使用C#,因为它比C ++更难滥用. C#几乎完全是Windows语言.


谢谢
Hi,


TC++ = an older Borland C/C++ compiler. This could go back as far as DOS.
VC++ = Microsoft C/C++ compiler. Microsoft started the VC series about the time DOS went away.
Borland C++ = A Borland C/C++ compiler. Could refer to any of the Borland compilers.
Linux C++ = no such thing. Probably a reference to the GNU C/C++ compiler. It is a very good free compiler so it is the default standard C/C++ compiler for most Linux distro''s and even some commercial versions of Unix.

All of the above C/C++ compilers will do about the same thing given a C or C++ program. Borland had it''''s own special classes and in many ways was the better compiler vs Microsoft. Depending on which version of the compilers you have, there may be compatibility issues depending on which standard they were developed to meet. Some of the above compilers might choke on the original K&R C syntax as an example.

C# is a "safe" version of C++ developed by Microsoft. It is sometimes described as C++ without all the stuff that might harm the operating system. C# is hardly a failure. Many Windows developers are using C# because it is harder to abuse than C++. C# is nearly exclusively a Windows language.


Thanks,


ISO/IEC已经标准化了C ++.无论使用哪种提供程序构建c ++,它们在库,IDE等方面都不同.但是C ++的基本知识到处都是一样的.请点击链接 [
ISO/IEC has standardized C++. Whatever the different Providers build c++ they differ in libraries, IDE and so on. But basic of C++ is same everywhere. please follow the link[^] to learn about the history and provided standards of c++.

and As Shakti Misra said C# is no such thing as safe version of C++. When we talk about data security we don''t mean securing from hacker. By data security we mean securing from the mistake of programmer which can lead to loosing data, data corrupting etc.

And the purpose of Java and .net...
If you take a look then you will see that every processor has different set of instructions, different length of instructions, it is not possible to write a low level code in such a way so that it would run on any machine freely. To overcome this problem compilers like c, FORTRAN, ADA, Pascal etc. were introduced. Even though there was some problem still there such as variation between technologies from machine to machine, operating system to operating system. Java was step to overcome this problem. If you compile a Java program then you can(!) run on every machine. cause java is compiled targeting the Java virtual machine. Well .Net is the same thing(!!!). Even though when you use a Win32 API in a .Net program, I think, it loose its portability. Honestly speaking only thing I see of benefit of C# over C++ is its easy IDE (VB6 had that too.)


Well dont take my answer seriously. I am not good at explaining my thought


您可以使用Visual Studio Free版本.
您可以使用
Code :: Blocks,它使用mingw编译器. [
You can use Visual Studio Free versions.
You can use Code::Blocks, this uses the mingw compiler.[^]
use the codeblocks-10.05mingw-setup.exe.
This is a nice IDE and also a standard confirming compiler. This uses the GCC variant compiler and tools.


这篇关于C ++编译器之间的差异的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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