Sunday, July 12, 2009

Is it true, that C++ is a top programmer language?

I heard, that Windows XP was build on C++.

Is it true, that C++ is a top programmer language?
C is still the most used programming language and it will likely stay that way for a very long time. C++ is called C++ because it is supposed to be like the "next generation" of C. It cannot be called B for two primary reasons:


1. It's not supposed to be an entirely separate language (well, it's supposed to be based loosely on C)


2. B was a programming language from many years before C++. C got its name as being the logical successor to B (for BCPL).





http://en.wikipedia.org/C_programming_la...
Reply:there, you got your answer.
Reply:C++ is a popular language. Although technically probably a tad less popular than Java, Visual Basic 6, or .NET Framework, almost all commercial software is written in C++, with very few exceptions.





Why?





Because C++ is a combination of the advanced programming features (of languages like Java) such as objects, inheritance, polymorphism, operator overloading, etc., as well as the raw speed and power of C, it gives you the best of the high level languages and lower level languages. No other language really offers the combination of speed, power, and flexibility.





But it is quite difficult to program in. Unlike those high level languages like Java and C#, C++ does not have an automatic "garbage collection" system going on. If you put things into memory, you must ensure your logic takes them out of memory, or you will cause memory leaks, and you risk causing access violations.





As a result of that it can take up to four times as long to program a project in C++. That is why in-house developers, who are understaffed and under pressure to get results fast, don't tend to use it.





However, the speedy performance and power of C++ is why almost all commercial applications for sale - from Microsoft Office to Adobe Photoshop, are written in it, even if it takes longer to write in it.





Incidentally, in Visual Studio 2005, Microsoft has provided a C++ environment that can run "managed" just like Java and C#, with garbage collection and modern features. That means C++ developers can get all the benefits of the newer .NET style of programming without switching languages.





(BTW, there is no way sites like Amazon or Google are written in Java. No way do they bind with anything as slow as JDBC. JSP and servlets are good for the next tier of websites, but not that very top tier. Google has been widely reported as being in a combo of C++ and Python.)
Reply:NO, its not a top programming language. but it is a good object oriented language.


Yes, most of the windows XP could have been written using C and C++ (microsoft flavors)
Reply:C# is really big right now. If you are looking for something to learn, you cant go wrong with it.
Reply:Yes, C++ is one of the most popular programming languages in the world. It's right up there with C and Java as one of the most popular languages in use today.





If you are programming applications for a PC or Macintosh, most likely you will write them in C++. It is very cool at desktop applications, but is poorly suited for web applications.





If you want to write a professional quality web application, like Google or Amazon, most likely you'd write it in Java.





Both Java and C++ are considered "high-level" languages. They are very powerful, but abstract you away from the underlaying computer (making them easier to program in).





If you want to write something low level, like the driver that runs your monitor or hard disk, you would most likely program in C. C is a couple steps above machine code and a couple steps down from Java and C++.





As for the answer that asked "Why isn't it called 'B'?" The answer is, there was a language called 'B'. Also, one called 'A'. The two guys who invented C did 'A', then 'B', and were finally happy when they got to 'C' and then shared it with the world. In C, using "++" after a variable means "increase by 1". So C++ was basically their way of saying "On step better than 'C'"
Reply:It true C++ is a top programmer language.I myself I'm taken a C++ class now.
Reply:It is a programing formula


No comments:

Post a Comment