469,283 Members | 2,349 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,283 developers. It's quick & easy.

difference between c and cpp

hi friends i want to know some meaningfull differences betwwen c and cpp????
can any give its answer????
Jun 29 '07 #1
10 6476
Meetee
931 Expert Mod 512MB
hi friends i want to know some meaningfull differences betwwen c and cpp????
can any give its answer????
Try to search on google!! U will find lots of sites related to this topic..

Main difference is C++ is object oriented language while C is not.
Jun 29 '07 #2
vinci
62
hi there!


Zodilla58 is right! C++ was developed to answer the lack of features that was not available in C.. basically the not being object oriented of C...

but search the Net to get the most appropriate answer that would really answer questions in your mind... hehehe
Jun 29 '07 #3
Personally, I think the main difference between C and C++ is the '++'.

Ras.
Jun 29 '07 #4
r035198x
13,262 8TB
Personally, I think the main difference between C and C++ is the '++'.

Ras.
What a brilliant observation!
Jun 29 '07 #5
seforo
60
c means c and cpp means c plus plus
Jun 29 '07 #6
Meetee
931 Expert Mod 512MB
c means c and cpp means c plus plus
I think this thread is giving good entertainment!!
Jun 29 '07 #7
niskin
109 100+
I agree, fancy noticing the difference between C and C with a '++' on the end. Of course, that's the only difference... no actual difference in the language *cough*! This comment is not an insult to Rasputin as I am sure they are aware of the difference between C and C++.
Jun 29 '07 #8
poe
32
C++ is in addition to C. You take a C program and compile it with a C++ compiler. The ++ is the ability to use objects instead of just structures (although you can use structures also). C++ includes the Standard Template Library which includes some commonly used data structures like lists, stacks, queues, and vectors.
Jun 29 '07 #9
I agree, fancy noticing the difference between C and C with a '++' on the end. Of course, that's the only difference... no actual difference in the language *cough*! This comment is not an insult to Rasputin as I am sure they are aware of the difference between C and C++.
This is a late reply, but I've been out of town for last 2 weeks. Anyway, just to say it's certainly good some times to put some humour in replies, and I'm obviously not taking personal negative answers to that.


Ras.
Jul 16 '07 #10
Hi,

C++ is an extension of C language.

General meaning of i++ is increment its value by one i.e., it should hold the previous value and add one to it. In the same manner C++ is nothing but "C with Classes" that is holding C features and adding Classes concept to it. The main features are

Data Abstraction
Data Encapuslation
Polymorphism
Inheritance and so on.

as the other guys said search on google you will find more intresting things to do.
Jul 16 '07 #11

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

21 posts views Thread by b83503104 | last post: by
26 posts views Thread by Frank | last post: by
3 posts views Thread by bbawa1 | last post: by
12 posts views Thread by Petronius | last post: by
5 posts views Thread by Julius | last post: by
11 posts views Thread by cmb3587 | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.