943,895 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 1524
  • C++ RSS
Jan 26th, 2009
0

Advantages of C++ over C#

Expand Post »
Hi, what are the advantages of C++ over C#? I have a little bit of knowledge in both of them, but I am going to choose which one to dedicate most of my time to.
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
gsingh2011 is offline Offline
70 posts
since Dec 2008
Jan 26th, 2009
0

Re: Advantages of C++ over C#

I don't know a lot about differences, but, I have read that C# accrues more overhead on applications because it's not truly compiled into machine code language (Java acts the same way.) So I think it's more cross-platform friendly, but at the price of performance. That's all I really know about it though.
Reputation Points: 11
Solved Threads: 0
Newbie Poster
mtucker6784 is offline Offline
7 posts
since Jan 2009
Jan 26th, 2009
1

Re: Advantages of C++ over C#

C++ has a more flexible template system that can do things (like take template classes as template parameters) that C#'s generics system just can't do.

Its use of RAII is nice, too.

It has a bunch of good libraries, like boost, and you can more easily write cross-platform applications with it.

Also, you can use multiple inheritance, which helps get around a few holes in the type system.
Last edited by Rashakil Fol; Jan 26th, 2009 at 11:45 pm.
Team Colleague
Reputation Points: 1135
Solved Threads: 171
Super Senior Demiposter
Rashakil Fol is offline Offline
2,478 posts
since Jun 2005
Jan 27th, 2009
0

Re: Advantages of C++ over C#

C++ meta programming That's just my opinion, by the way. I have no clue if C# has it, the extent to which it is supported, etc .
Last edited by d0pedup; Jan 27th, 2009 at 11:58 am.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
d0pedup is offline Offline
14 posts
since Dec 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: Howto: "understanding a big framework ".
Next Thread in C++ Forum Timeline: Extracting from txt file, comman and \n delimited





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC