If you have a matrix or vector class in .NET you can overload operators.. been there since 1.1 (or earlier I believe)
(Sorry forgot to quote Finn mac's post regarding not having operator overloading in generics -- generics is nothing to do with it)
C# or C++?
- Finn Mac Cool
- Posts: 0
- Joined: Thu Jan 01, 2004 12:00 am
C# or C++?
Here's a discussion of the problems with operators in C#.
http://www.codeproject.com/csharp/GenericOperators.asp
http://www.codeproject.com/csharp/GenericOperators.asp
- athletico
- Posts: 0
- Joined: Thu Jan 01, 2004 12:00 am
C# or C++?
tnx for that link Finn ... Generics + Reflection = Lightweight Code Generation and some very cool dynamic apps.
(incidentally the guy that wrote that article is working on the DLinq project in C# 3.0)
(incidentally the guy that wrote that article is working on the DLinq project in C# 3.0)
- Crassus
- Posts: 0
- Joined: Thu Jan 01, 2004 12:00 am
C# or C++?
I've had a fair chance to play with C# in VS.NET 2005. Very good. I pity ye who labour yet with C++.
The VS2005 IDE in itself is very, very good.
Nice numerical package also (including Matrix class) http://www.cdrnet.net/projects/nmath/
The VS2005 IDE in itself is very, very good.
Nice numerical package also (including Matrix class) http://www.cdrnet.net/projects/nmath/
What is best in life? To crush your enemies... to see them driven before you and to hear the lamentation of the women
- insomniac
- Posts: 0
- Joined: Thu Jan 01, 2004 12:00 am
C# or C++?
So just to kick off this thread again - would you guys recommend that a newbie not bother learning C++ and jump straight to C#?
I'm just curious, because I'm quite fried after a few years of C/C++ and extraordinary difficulty of implementing a good Windows app in C++.
Is C# better at this?
I'm just curious, because I'm quite fried after a few years of C/C++ and extraordinary difficulty of implementing a good Windows app in C++.
Is C# better at this?
You do not have the required permissions to view the files attached to this post.
- tristanreid
- Posts: 0
- Joined: Thu Jan 01, 2004 12:00 am
C# or C++?
Yes.
Generally, .NET is better, so the mere act of switching to C++ .NET will help (the visual studio environment is very nice), but switching to C# makes even more sense, there is no advantage of staying with C++ .NET.
I can be more specific if you'd like, but I believe there are dozens of threads about the advantages.
-t.
Generally, .NET is better, so the mere act of switching to C++ .NET will help (the visual studio environment is very nice), but switching to C# makes even more sense, there is no advantage of staying with C++ .NET.
I can be more specific if you'd like, but I believe there are dozens of threads about the advantages.
-t.
If you can make computers as smart as humans you will have invented a machine that can sing the words to the Flintstones tune but will forget to pay the phone bill.
- mj
- Posts: 0
- Joined: Thu Jan 01, 2004 12:00 am
C# or C++?
there are more jobs in quant for C++ programmers
Quant Job Interview Questions and Answers now available on lulu and createspace: www.markjoshi.com
- insomniac
- Posts: 0
- Joined: Thu Jan 01, 2004 12:00 am
C# or C++?
MJ,
Undoubtedly you're right, though this begs the question why. I get the impression - and please do correct me if I'm wrong - that it is more to due to the requirement of legacy code maintenance rather than new project development.
Undoubtedly you're right, though this begs the question why. I get the impression - and please do correct me if I'm wrong - that it is more to due to the requirement of legacy code maintenance rather than new project development.
- IAmEric
- Posts: 0
- Joined: Thu Jan 01, 2004 12:00 am
C# or C++?
It is absolutely a legacy issue. Otherwise, everyone would be using Matlab Wink
One day, in the midst of another one of his increasingly frequent homicidal fantasies, Croke noticed a new member had invaded his favorite forum. It was an obnoxious coed (or so he thought) who went by the nickname "Lilly". At first, all Croke could think about was strangling the life out of this giddy new member. Her insistent flirting with everyone was disgusting to Croke and he began a merciless vendetta against her.
He was sure that his prominent status would cause the other "regulars" to outcast the newcomer as he wished. On the contrary, everyone dug Lilly and even Croke's most vehement beratings fell on def ears. This infuriated Croke even more.
He was sure that his prominent status would cause the other "regulars" to outcast the newcomer as he wished. On the contrary, everyone dug Lilly and even Croke's most vehement beratings fell on def ears. This infuriated Croke even more.
- tristanreid
- Posts: 0
- Joined: Thu Jan 01, 2004 12:00 am
C# or C++?
[i][b]mj[/b]: there are more jobs in quant for C++ programmers[/i]
If you can make computers as smart as humans you will have invented a machine that can sing the words to the Flintstones tune but will forget to pay the phone bill.