Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jul 1st, 2005, 12:32 PM   #1
Stash
Newbie
 
Join Date: Jun 2005
Posts: 14
Rep Power: 0 Stash is on a distinguished road
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
Stash is offline   Reply With Quote
Old Jul 1st, 2005, 12:39 PM   #2
skuinders
Hobbyist Programmer
 
skuinders's Avatar
 
Join Date: Jun 2005
Location: MA, US
Posts: 204
Rep Power: 4 skuinders is on a distinguished road
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
skuinders is offline   Reply With Quote
Old Jul 1st, 2005, 12:56 PM   #3
Stash
Newbie
 
Join Date: Jun 2005
Posts: 14
Rep Power: 0 Stash is on a distinguished road
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#?
Stash is offline   Reply With Quote
Old Jul 1st, 2005, 1:08 PM   #4
OpenLoop
Expert Programmer
 
OpenLoop's Avatar
 
Join Date: May 2005
Location: East Lansing, MI
Posts: 663
Rep Power: 4 OpenLoop is on a distinguished road
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)
OpenLoop is offline   Reply With Quote
Old Jul 1st, 2005, 1:17 PM   #5
skuinders
Hobbyist Programmer
 
skuinders's Avatar
 
Join Date: Jun 2005
Location: MA, US
Posts: 204
Rep Power: 4 skuinders is on a distinguished road
Quote:
Originally Posted by Stash
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#?
yes sir. I use Bloodshed Dev-C++ for C and C++ development on Windows at work.

Quote:
Originally Posted by OpenLoop
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)
I don't think this will ever happen on a large scale. people developing for *nix or cross-platform just wont use .NET - Microsoft would have it no other way
__________________
"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
skuinders is offline   Reply With Quote
Old Jul 1st, 2005, 2:06 PM   #6
Dameon
Troll
 
Dameon's Avatar
 
Join Date: Apr 2005
Location: Texas
Posts: 732
Rep Power: 4 Dameon is on a distinguished road
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
Dameon is offline   Reply With Quote
Old Jul 1st, 2005, 2:28 PM   #7
OpenLoop
Expert Programmer
 
OpenLoop's Avatar
 
Join Date: May 2005
Location: East Lansing, MI
Posts: 663
Rep Power: 4 OpenLoop is on a distinguished road
Quote:
Originally Posted by skuinders
I don't think this will ever happen on a large scale. people developing for *nix or cross-platform just wont use .NET - Microsoft would have it no other way
The more poeple know about .NET the more they realize its potential. Its not just a Microsoft thing, its more like simplifying a programmer's life and making the software development world more uniform and better organized.

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.
OpenLoop is offline   Reply With Quote
Old Jul 1st, 2005, 2:46 PM   #8
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
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."
Infinite Recursion is offline   Reply With Quote
Old Jul 2nd, 2005, 9:48 AM   #9
Cerulean
Professional Programmer
 
Cerulean's Avatar
 
Join Date: Apr 2005
Location: London, England
Posts: 459
Rep Power: 4 Cerulean is on a distinguished road
Quote:
I don't think this will ever happen on a large scale. people developing for *nix or cross-platform just wont use .NET - Microsoft would have it no other way
Erm.. Muine (Gnome music player) is written is C#, as is Beagle (Gnome desktop search), and Beagle is a pretty darn big program. Give mono a little credit, and give C# some too ;-)
Cerulean is offline   Reply With Quote
Old Jul 2nd, 2005, 1:22 PM   #10
Dameon
Troll
 
Dameon's Avatar
 
Join Date: Apr 2005
Location: Texas
Posts: 732
Rep Power: 4 Dameon is on a distinguished road
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
Dameon is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 2:56 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC