|
I have a pretty good grasp of C++ but very little success in GUI applications with MFC from MS Visual C++. I am interested in windows based applications (to be used mainly by myself) in engineering problem solving.
Where should I begin?
Should I concentrate on learning MFC from VC++ 6.0 or switch to .NET framework now?
What books or training would you recommend?
When you come to a fork in the road, take it! Y. Berra
|
|
|
|
|
Go to .NET, you won't regret it. It's a great technology. However, you're going to need to get your hands on some version of Visual Studio .NET, which is rather expensive
In general I find the Wrox Press Beginning ___ (in this case Beginning C#) very good introductions, but since your a programmer already I've heard good things about Inside C# 2.
-Domenic Denicola- [CPUA 0x1337]
MadHamster Creations
"I was born human. But this was an accident of fate - a condition merely of time and place. I believe it's something we have the power to change..."
|
|
|
|
|
Actually, Amazon has the Professional UPGRADE for $165 after $300 rebate.
So do recommend C#.NET over C++.NET? Why is that?
When you come to a fork in the road, take it! Y. Berra
|
|
|
|
|
Donald Blachly wrote:
So do recommend C#.NET over C++.NET? Why is that?
I do; because I think its much easier to learn how to use the class library without the language syntax getting in the way. To me, the C# syntax is intuitive to the use of the .NET classes.
My opinion anyway
James
"Java is free - and worth every penny." - Christian Graus
|
|
|
|
|
This is purely my opinion but if you're going to use C++.NET then you should either use C# or C++. C++ wasn't designed to be run in .NET and as such there are some places where working with C++.NET is funny to say the least(boxing for instance).
C# was designed to run in .NET. Essentially, anything you can do in C++.NET can be done in C#. C# has a much more intuitive syntax and once again IMHO is easier to work with sometimes.
However this is purely an opinion thing
Jared
jparsons@jparsons.org
www.prism.gatech.edu/~gte477n
|
|
|
|
|
I recommended C# (BTW, they're technically called C# and Managed C++, not C#.NET and C++.NET).
Basically C++ is not designed for .NET. The syntax is ugly and evil, and many things are inconvenient. It is good for mixing of unmanaged and managed stuff (read: non-.NET and .NET stuff), because with it you can write both. But otherwise, C# is designed for .NET and is a lot cooler as such.
-Domenic Denicola- [CPUA 0x1337]
MadHamster Creations
"I was born human. But this was an accident of fate - a condition merely of time and place. I believe it's something we have the power to change..."
|
|
|
|
|
Quite frankly, it doesn't matter what language you choose (VB.NET C# or MC++) because they all work the same framework and 99% of what they can do is the same.
MC++ is the most powerful and most flexible, but can be the biggest pain, as you don't have a GUI interface for designing forms/windows. C# and VB.NET are practically identical, except that C# can work with pointers (which I've never had a use for).
If you're really performance oriented, create the front-end in C#/VB.NET and the back-end in MC++, as the C#/VB compilers suck.
|
|
|
|
|
|
Yeah, the CLR runs the same, but the C# and VB.NET compilers are really bad at optimizing code. I found that out with ildasm, and I think there is an article on MSDN about performance tuning .NET which admits the same thing.
|
|
|
|
|
Donald Blachly wrote:
Should I concentrate on learning MFC from VC++ 6.0 or switch to .NET framework now?
My advice would be: VC++ 7.0 and WTL.
I vote pro drink
|
|
|
|
|
I just got my J# CD in the mail today . I realized however that on the CD it says, "Microsoft Visual J#.Net Standard." What does standard mean? Is there an enterprise version? If so, that is what I should get considdering that I have the enterprise developer edition of VS.NET. Is this yet another plot by Microsoft to screw with my head?
|
|
|
|
|
It's probably just mirroring J++ 6. If I recall, there was only ever a J++ Standard Edition with VS6. At least that's what I received in the post after purchasing an early version of VS6 Pro. If that's so it is, of course, very confusing, as VC++ Pro, etc., aren't the same as the Standard editions.
Kevin
|
|
|
|
|
Is there a linked list class anywhere in the Framework? So far, the closest classes I've seen are the ArrayList and the DataTable. Also, is the DataTable like the ArrayList in its need to shift its elements over when inserting a row at a certain position?
What? Were you expecting something witty or funny here?
|
|
|
|
|
AFAIK there isn't a straight up implementation of a linked list. There are a few classes that use it internally but I think you are much better off creating your own implementation.
If you don't know the code for it, there are lots of C++ implementations out there that you can use as a guide.
James
"Java is free - and worth every penny." - Christian Graus
|
|
|
|
|
|
yeah; the server was being flown cross country early this morning. It was only supposed to have been down for 5-6 hours but its been down since about midnight last night.
It arrived at its destination about 9 hours ago; and I think we're just waiting for the new IPs to propagate out to DNS servers.
Maybe it'll be up in the next hour or so
*James crosses his fingers*
James
"Java is free - and worth every penny." - Christian Graus
|
|
|
|
|
Update: The administrator for the host is suggesting that everyone on that server open a trouble ticket and request to be moved to the new server.
Apparently when the company started up they used someone's colo, now they run their own so getting put on a new server would mean that the person I bitch at is the person that gets the work done
Actually I wouldn't say I'd ever bitch at them, for $3.95 a month they give damn good service
James
"Java is free - and worth every penny." - Christian Graus
|
|
|
|
|
ArrayList is a pure (yet rather complicated) linked list. Inserting is just as fast.
Take a look at the local vars for it in VS. each item in the list is linked to the next item in the list.
|
|
|
|
|
I heavily disagree that ArrayList is a "pure" linked list. ArrayList is more like a Vector than anything else. Internally ArrayList uses an array for storage. A LinkedList does not use a static data structure like an array for storage
Jared
jparsons@jparsons.org
|
|
|
|
|
I'll have to check into it... I've simply read an article that went over the various Collection classes in System.Collections. I'm fairly sure one was a linked list according to the article, but if I'm wrong I highly thank you.
|
|
|
|
|
If your code will be using Managed C++, I strongly suggest STL's list .
Best regards,
Alexandru Savescu
|
|
|
|
|
Nope. Using STL lists on managed objects is never a good idea.
Step back, rub your eyes, take a deep breath, stretch a bit, and reflect on the relative importance of CP, CG, the age / travel time sustained by supposedly 'fresh' cheese curds, and Life in General. - Shog9
|
|
|
|
|
As I learnt while writing an article on an MC++ linked list, that is very, very slow. The only way to put a managed pointer into an unmanaged class is using the gcroot template, which is extremely, extremely slow.
By the way, I created a linked list in C# that I'll post as an article in a few weeks. It is faster than ArrayList on some accounta and vice-versa.
|
|
|
|
|
|
Zasto si rekao B/H u tvoj bio? Mislim da je pravo reci B&H ?
Just wondering
Regards,
Venet.
--------
Black holes are where God divided by zero.(Steven Wright)
|
|
|
|