What are the difference of most C/C++ compilers and programming language?

Why are there so many different kinds like there is Visual C++, Turbo C, C++, Borland C++, etc.

I am just curious because I want to start learning programming because I am planning to take Information technology on college and want to understand some of the basics in programing.

3 Responses to “What are the difference of most C/C++ compilers and programming language?”

  • The Phlebob:

    C and C++ are two related programming languages. C++ is the object-oriented descendant of C. Three of the names you mention, Visual C++, Turbo C and Borland C++ are implementations of (compilers for) those languages (Turbo C happens to be from Borland, the people who also produce Borland C++).

    There are many other C/C++ compilers, especially in the Unix and Linux worlds. The compilers tend to differ on features each compiler manufacturer wants to include with their implementation. Because the C language is a subset of C++, most C++ compilers will also compile straight C code.

    Hope that helps.

  • nxter:

    Different compilers tend to differ in some parts of some functions. For example, the sleep(); function. This function pauses the program for a specified amount of time. Usually, it is in seconds. So sleep(1); pauses the program for 1 seconds. One of the most widely used compilers, GCC, sets the value as milliseconds, so sleep(1000); pauses the program for 1 second. Besides sleep();, there are many differences too. Get a load of compilers, compile the same program, and be amazed at all the differences!

  • oops:

    Two different categories you’re talking about here. Programming languages, (c and c++). And development environments, which includes the compiler(visual c++, borland/turbo c++). Borland/Turbo is dead, or might as well be. There are other options besides Visual C++ http://www.microsoft.com/Express/VC/ , such as Code::Blocks http://www.codeblocks.org/ , Dev C++, http://www.bloodshed.net/devcpp.html . The differences between them are unimportant for you at this time, they are all capable of both c and c++. My preference is Visual C++, if you are developing for windows.

    The difference between c and c++. C++ has everything c has and more.

Leave a Reply