![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Jun 2005
Posts: 14
Rep Power: 0
![]() |
C++ vs. C# [re-opened]
Alright, so I am reading 'C# Complete' and a co-worker, who thinks he knows everything about programming because he took Visual Basic classes in 2002, but never applies what he learns,
sees me reading. He told me that I should be reading C++ books not C# books. He says that reading C# will not get me anywhere because C++ is better. Now from what I read and hear from my other friends outside of work, C# is just a newer version of C++ or close to it and I should be fine reading it. So, which is it C# or C++ ? or does it really matter? Last edited by Stash; Jul 1st, 2005 at 12:54 PM. Reason: Status |
|
|
|
|
|
#2 |
|
Hobbyist Programmer
Join Date: Jun 2005
Location: MA, US
Posts: 204
Rep Power: 4
![]() |
C# is a Microsoft language, C++ is not. thats enough for me.
EDIT: but if you want to make Windows apps then C# may be preferable.
__________________
"A stupid man's report of what a clever man says can never be accurate, because he unconciously translates what he hears into something he can understand." - B. Russell http://web.bryant.edu/~srk2 |
|
|
|
|
|
#3 |
|
Newbie
Join Date: Jun 2005
Posts: 14
Rep Power: 0
![]() |
Could I use...
So, I need to get a book for C++ also, now for software to learn on I was able to obtain VS.NET 2003 could I use that for both C++ and C#?
|
|
|
|
|
|
#4 |
|
Expert Programmer
Join Date: May 2005
Location: East Lansing, MI
Posts: 663
Rep Power: 4
![]() |
Applications developped with C# for the .NET framework might (in the near future) be run on other operating systems. In fact, a simple C# or VB.NET application can be run on linux using mono. (see www.go-mono.com)
|
|
|
|
|
|
#5 | ||
|
Hobbyist Programmer
Join Date: Jun 2005
Location: MA, US
Posts: 204
Rep Power: 4
![]() |
Quote:
Quote:
__________________
"A stupid man's report of what a clever man says can never be accurate, because he unconciously translates what he hears into something he can understand." - B. Russell http://web.bryant.edu/~srk2 |
||
|
|
|
|
|
#6 |
|
Troll
Join Date: Apr 2005
Location: Texas
Posts: 732
Rep Power: 4
![]() |
C# syntax is not obfuscated like C++, there's a rather extensive class library that makes development much faster, and because of Mono can run on just about any platform unmodified. Sure, you take a rather large performance hit, but do you worry about memory leaks? Do you have to deal with headers? It depends on what you are programming. If you need something written in a short amount of time that just works, C# is a good bet. If you need the speed and have the time to invest, go with C++.
__________________
MD5(sig) = bcef75433db02e9ad9bf81d6f7c5c270 |
|
|
|
|
|
#7 | |
|
Expert Programmer
Join Date: May 2005
Location: East Lansing, MI
Posts: 663
Rep Power: 4
![]() |
Quote:
You migth argue that java and its platform can do this already. However, the advantage of .NET is the language flexibility. Java platform runs programs developped by the java language only where .NET can run programs developed by any of the growing list of .NET-aware languages. Maybe .NET doesn't have a bright future in Linux, but it is sure gaining momentum in the Windows development field over MFC, Win32, and STL. |
|
|
|
|
|
|
#8 |
|
Programming Guru
![]() ![]() ![]() |
You can't go wrong with either, C++ is everywhere... and C# is gaining ground.
__________________
http://jasonpowers.net "There are a thousand hacking at the branches of evil to one who is striking at the root." |
|
|
|
|
|
#9 | |
|
Professional Programmer
Join Date: Apr 2005
Location: London, England
Posts: 459
Rep Power: 4
![]() |
Quote:
|
|
|
|
|
|
|
#10 |
|
Troll
Join Date: Apr 2005
Location: Texas
Posts: 732
Rep Power: 4
![]() |
Once I'm back on linux I might try some of my larger binaries to see how well they work with Mono. At this point, Mono is certainly a capable development platform for C# and VB -- it delivers the multi-platform goodness that MS promised us. I'd like to get Visual Studio to compile with the mcs compiler
![]()
__________________
MD5(sig) = bcef75433db02e9ad9bf81d6f7c5c270 |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|