C
A high-level programming language developed at Bell Labs that is able to manipulate the computer at a low level like assembly language. During the last half of the 1980s, C became the language of choice for developing commercial software. C, and its object-oriented successor C++, are used to write a huge variety of applications and almost all operating systems. There are C/C++ compilers for all major operating systems and hardware platforms. C was standardized by ANSI (X3J11 committee) and ISO in 1989.
C++
An object-oriented version of C that has been widely used to develop enterprise and commercial applications. Created by Bjarne Stroustrup, C++ became popular because it combined traditional C programming with object-oriented programming (OOP) features. Microsoft's Visual C++ is the most widely used C++ language.
2006-07-16 02:02:26
·
answer #1
·
answered by modcaps 2
·
2⤊
2⤋
You can certainly use C++ compiler to C programs. The difference is that C++ supports object oriented programming. Any wrong solutions you may be getting is because of a conflict in the program itself not the compiler.
2006-07-16 02:25:59
·
answer #2
·
answered by bedwani 2
·
0⤊
0⤋
You can definitely use a C++ compiler to compile a C program. C++ is just an extension of the C language, that supports Object Oriented programming.
2006-07-16 01:56:26
·
answer #3
·
answered by pari 2
·
0⤊
0⤋
C++ is an increment over C (++ is an increment operator). The main difference is that C++ is a partial Object Oriendted programming Language. C++ compiler supports Basic C syntexes as well as OOPs features like Inheritance, Polymorphism, Data Abstraction etc etc. I suppose, C compiles may not support OOPs features.
U must add (include) proper header files. And remember to save it with a proper extention (.c for C programms and .cpp for C++ programms)
U can refer Kanitkar's Let US C & Let Us C++
2006-07-16 03:06:47
·
answer #4
·
answered by RedishBlack 1
·
0⤊
0⤋
You should be able to use a C++ compiler to program C and vice versa as most decent C++ compilers have a backwards compatibility in a sense.
There are certain things to watch out for and ways to do things in order to ensure the compatibility and correct syntax etc. Check this site http://developers.sun.com/prodtech/cc/articles/mixing.html for an overview of this subject.
Good luck with your programming
2006-07-16 02:05:22
·
answer #5
·
answered by dustiiart 5
·
0⤊
0⤋
ok.. i am telling u
1. C with claasses hence C++
2. C++ provides data abstraction,encapsulation,inherentence and polymorphism concept.
3. C is top down programming approach.
C++ is bottom up programming approach.
4. In C Structure u can not declare function where as in C++ u can declare function(like classes)
5. C is faster then C++
C++ is generally slower at run time and much more slower at compile time.
6. In C does not have class/object concept.
that's all my dear hope u got it(onlykeshu@yahoo.co.in)
2006-07-16 23:21:14
·
answer #6
·
answered by keshu 2
·
0⤊
0⤋
C++ is object oriented. You can define classes.
You may mimmick object oriented programming with plain C, but is a little bit more complicated.
2006-07-16 01:56:04
·
answer #7
·
answered by Romulo R 2
·
0⤊
0⤋
Hello. - Links Below.
Have a nice day. :)
2006-07-16 02:01:29
·
answer #8
·
answered by Anonymous
·
0⤊
0⤋
two little plus signs. do i win the prize?
2006-07-16 01:55:25
·
answer #9
·
answered by bar1barian 2
·
0⤊
0⤋