English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

As C++ is made from C and it also a Upgraded C that is why C++. But some Basic things are very same. So why C++? There cant be upgradation in C to make a better C?

2007-01-27 05:08:40 · 6 answers · asked by CyberBoy 1 in Computers & Internet Software

6 answers

C++ is an object oriented language, and C is not. Most syntax in C++ was based on syntax from C languages.

Object oriented paradigm is so different than traditional procedural program (typical of C programs), in order to justify C++ being considered new languages.

C++ supports classes, C does not.
C++ supports OO concepts like inheritance, C does not.

2007-01-29 03:53:59 · answer #1 · answered by Razor 2 · 0 0

C is the original language. C++ is a C in the core but it has the pre-processor around it.

What it does is, when you write the source code according to the C++ syntax, the pre-processor will convert your code to C first then compile it.

C++ uses the Object Oriented logic for its language. C is just a plain procedureal language.

By the way, "upgradation" isn't even a word!

2007-01-27 13:19:05 · answer #2 · answered by tkquestion 7 · 0 0

A C and a C++ are two different grades. a C is in lower 70s than C++.

2007-01-27 13:19:06 · answer #3 · answered by The Chemical 3 · 0 0

If U get a C in class or a C++, which would B better.

2007-01-27 13:14:55 · answer #4 · answered by Anonymous · 0 0

http://www.research.att.com/~bs/bs_faq.html#difference

2007-01-27 13:14:32 · answer #5 · answered by dlee_red 3 · 0 0

one ++, DUH!

2007-01-27 13:12:45 · answer #6 · answered by Anonymous · 0 0

fedest.com, questions and answers