TechTalkz.com Logo Ask the Experts!

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Software World > Programming

difference between c and c++?

Programming

 
Reply
Thread Tools Display Modes
Unread 01-07-2013, 11:44 AM   #1
Advanced Member (250+)
Thread Starter
 
Join Date: Mar 2013
Posts: 442
Thanks: 5
Thanked 10 Times in 9 Posts
Mood: Amazed
Rep Power: 65 shan123 is on a distinguished road

Intel Nvidia

Windows Server Windows 7 Linux Mac OS


difference between c and c++?

what is the difference between c and c++?

Sponsored Links
shan123 is offline   Reply With Quote
Unread 01-07-2013, 11:46 AM   #2
Senior Member (500+)
 
Join Date: Mar 2013
Location: colachel
Posts: 513
Thanks: 4
Thanked 17 Times in 16 Posts
Mood: Cool
Rep Power: 75 sahabcse is on a distinguished road

Intel

Windows 7 Linux Mac OS


Re: difference between c and c++?

C is a low-level language while C++ is a middle-level language
sahabcse is offline   Reply With Quote
Unread 01-07-2013, 11:46 AM   #3
Advanced Member (250+)
Thread Starter
 
Join Date: Mar 2013
Posts: 442
Thanks: 5
Thanked 10 Times in 9 Posts
Mood: Amazed
Rep Power: 65 shan123 is on a distinguished road

Intel Nvidia

Windows Server Windows 7 Linux Mac OS


Re: difference between c and c++?

what does that means?
shan123 is offline   Reply With Quote
Unread 01-07-2013, 11:47 AM   #4
Senior Member (500+)
 
Join Date: Mar 2013
Location: colachel
Posts: 513
Thanks: 4
Thanked 17 Times in 16 Posts
Mood: Cool
Rep Power: 75 sahabcse is on a distinguished road

Intel

Windows 7 Linux Mac OS


Re: difference between c and c++?

C is regarded as a low-level language(difficult interpretation & less user friendly) while C++ has features of both low-level(concentration on whats going on in the machine hardware) & high-level languages(concentration on the program itself) & hence is regarded as a middle-level language.
sahabcse is offline   Reply With Quote
Unread 01-07-2013, 11:48 AM   #5
Advanced Member (250+)
Thread Starter
 
Join Date: Mar 2013
Posts: 442
Thanks: 5
Thanked 10 Times in 9 Posts
Mood: Amazed
Rep Power: 65 shan123 is on a distinguished road

Intel Nvidia

Windows Server Windows 7 Linux Mac OS


Re: difference between c and c++?

what are the other differences?
shan123 is offline   Reply With Quote
Unread 01-07-2013, 11:49 AM   #6
Senior Member (500+)
 
Join Date: Mar 2013
Location: colachel
Posts: 513
Thanks: 4
Thanked 17 Times in 16 Posts
Mood: Cool
Rep Power: 75 sahabcse is on a distinguished road

Intel

Windows 7 Linux Mac OS


Re: difference between c and c++?

C follows the procedural programming paradigm while C++ is a multi-paradigm language(procedural as well as object oriented)..In case of C, importance is given to the steps or procedure of the program while C++ focuses on the data rather than the process.
Also, it is easier to implement/edit the code in case of C++ for the same reason.
sahabcse is offline   Reply With Quote
Unread 01-07-2013, 11:50 AM   #7
Senior Member (500+)
 
Join Date: Mar 2013
Location: colachel
Posts: 513
Thanks: 4
Thanked 17 Times in 16 Posts
Mood: Cool
Rep Power: 75 sahabcse is on a distinguished road

Intel

Windows 7 Linux Mac OS


Re: difference between c and c++?

C is function-driven while C++ is object-driven

Functions are the building blocks of a C program while objects are building blocks of a C++ program.
sahabcse is offline   Reply With Quote
Unread 01-07-2013, 11:51 AM   #8
Advanced Member (250+)
Thread Starter
 
Join Date: Mar 2013
Posts: 442
Thanks: 5
Thanked 10 Times in 9 Posts
Mood: Amazed
Rep Power: 65 shan123 is on a distinguished road

Intel Nvidia

Windows Server Windows 7 Linux Mac OS


Re: difference between c and c++?

what is object in c++..?
shan123 is offline   Reply With Quote
Unread 01-07-2013, 11:53 AM   #9
Senior Member (500+)
 
Join Date: Mar 2013
Location: colachel
Posts: 513
Thanks: 4
Thanked 17 Times in 16 Posts
Mood: Cool
Rep Power: 75 sahabcse is on a distinguished road

Intel

Windows 7 Linux Mac OS


Re: difference between c and c++?

in real-world objects share two characteristics: they all have state and they all have behavior. For example, dogs have state (name, color, breed, hungry) and dogs have behavior (barking, fetching, and slobbering on your newly cleaned slacks). Bicycles have state (current gear, current pedal cadence, two wheels, number of gears) and behavior (braking, accelerating, slowing down, changing gears).

Software objects are modeled after real-world objects in that they, too, have state and behavior. A software object maintains its state in variables and implements its behavior with methods.
sahabcse is offline   Reply With Quote
Unread 01-07-2013, 12:19 PM   #10
Elite Member (1000+)
 
echo off's Avatar
 
Join Date: Mar 2010
Location: Folkestone, UK
Posts: 2,449
Thanks: 240
Thanked 432 Times in 378 Posts
Mood: Tired
Blog Entries: 10
Rep Power: 6345 echo off is extemly Distinguishedecho off is extemly Distinguishedecho off is extemly Distinguishedecho off is extemly Distinguishedecho off is extemly Distinguishedecho off is extemly Distinguishedecho off is extemly Distinguishedecho off is extemly Distinguishedecho off is extemly Distinguishedecho off is extemly Distinguishedecho off is extemly Distinguished

Intel Nvidia

Windows 98 / Windows ME Windows NT / Windows 2000 Windows XP Windows Vista Windows 7 Linux Mac OS


Re: difference between c and c++?

Sponsored Links
Quote:
Originally Posted by sahabcse View Post
C is a low-level language while C++ is a middle-level language
Sorry, but you are just wrong.

Both languages are compiled. Both languages have low-level capabilities, and C code is usually also valid C++ code too.

There are only design differences really. C++ has classes, templates, and of course the STL.

They are both, in reality, mid level languages (if you want to call it that).

Now, assembly IS low level.

Sponsored Links

Last edited by echo off; 01-07-2013 at 12:21 PM..
echo off is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
difference of DSA praveen Windows Server 2003 1 31-05-2008 08:16 PM
DVR-MS vs ASF difference Dmitry Vergeles Windows Media 4 21-04-2008 03:24 PM
Difference in PDO and FDO. Ali Microsoft Device Drivers 6 02-12-2007 12:02 AM
What a difference. Primax Ubuntu Linux 1 16-11-2007 06:02 PM
Difference between JVM and JRE Amit Jain Java 3 04-10-2007 09:00 AM


< Home - Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT. The time now is 03:28 PM.


vBulletin, Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © 2005-2016, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional