This Question Is Answered:
 What is different between Cpp and C#?
Basic difference according to inheritance,multi threading, memory management,the way to write program.
 28 Jun 2007 14:22
 Flag
 Both of these are the programming languages.
The C++ is the old version, but still used programming language. It is an object oriented language. C++ is very powerful with respect to speed than the c# .in c++ both the object oriented and the structure oriented programming can be possible.
In the aspect of memory management, in the c++ you have to manage the memory by calling explicitly the delete function. In c++ we can use any type of inheritance feature. It has the facility of multi-threading.
In the syntax of the c++ let's take an example
# include<>
{
cout<<" hello">;
Cin<>;
}
The c# is pure object oriented language in this you can use the structure oriented programming. The aspect of memory management in c# is opposite of c++. Here memory management job is done by the garbage collector automatically. In c# there is not multiple inheritance but the other two types of inheritance is possible in the c#, while class is able to insert many interfaces. This step was taken by the programmer to get rid of from dependency hell and compilation. It can also use the multi-threading technique.
While the syntax of the c# is totally different and not user friendly like for printing the "hello" word. This line should be written:
System.Console.WriteLine("Hello");
C# is difficult then the c++. The sysntax of c and c++ is quite easy and user friendly.
Unrated

0 ratings
  29 Jun 2007 21:32
 Flag

1000 words left

    


Blurtit Tools:  Email to a Friend    Bookmark this page
What Is MAN, Wireless
Network And Network
Works?
What Is Christopher
Paolini's Email Address?
What Is Hacking (i.e.
Cracking Of Codes)?
What Are The Design And
Approaches Of Operating
System?
How do you design a
question and answer page?
What are the different
types of assemblies in
.Net 2005?
Does Anyone Know What The
Program "access" Is?
How Do You Place An Image
On Top?
What is the most
complicated/valuable
program you written in
C/C++?
Can you help me
understand this
program? main(){int
n,i,z=1;scanf("%d",&n);fo
...
My Blurtit
My Profile
My Questions
My Answers
Blurtit Features
Ask a Question
Answer a Question
Search an Answer
Categories
Tools
Link to Blurtit
Add Blurtit to Firefox
Search Engine
See Your Site Here
Link to Blurtit
RSS
Blurtit.com
About Us
Terms & Conditions
Privacy Policy
Contact Us
Advertise With Us
Help
International
 Chinese Site
 Japanese Site
To continue you need to be registered with us first.

I am already a Blurter, and need to login
I am not a Blurter yet, but would like to register