Re: Forms and VC++

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




David Wilkinson wrote:
blangela wrote:

Larry - Thank you for your detailed response to my previous reply.

I must admit I am still a little confused on how "straight forward" it
is to create Windows App using CLR/C++. I suspect that I will only
find out by actually trying.

Having said that, some of the posters above state I must still used
"managed C++", while others suggest it is much more straight forward
now in the latest version of VS 2005. Again, a little confusing.

As to why to use C++ over C#, one of the sources referenced above
states (at least for .NET 2003) that native code produced using managed
C++ is more optimized (and quite likely there is less code as well --
which some would argue is also a form of optimization) than when using
a .NET language.

Bob:

First of all, IMHO it would be crazy to teach students the obsolete
"Managed C++" of VS2003. If you are going to teach .NET programming with
C++ it has to be with the new C++/CLI in VS2005. It's mostly the same
functionality, but with a much better notation.

I was not considering teaching the older "Managed C++". I just wanted
to know if it was true that the newer CLI is easier than the older
"Managed C++".

But I also feel that C++/CLI is too complicated a language to teach in
an introductory course. If you are going to teach .NET programming I
think you should give serious consideration to C#.

I was only going to spend a perhaps an hour (or perhaps less by just
providing some screenshots to show how I did it) and then take a
console app. and "dress it up" in a Windows App using the CLI. I
certainly had no intention to try to teach .NET !

I could be wrong, but I think teaching traditional C++ and C# separately
might be less of a challenge to the students than trying to learn
C++/CLI. Because C++/CLI is really just two languages joined together,
and a lot of the difficulty is in the joining.

Again, I only teach C++. We have other courses that teach .NET, Java,
etc.

Perhaps it is true that for high performance .NET applications, C++/CLI
can be faster (or perhaps easier to make fast), but I'm not sure this is
really a consideration for a course.

I only mentioned the above point as an aside. It actually has nothing
to do with my C++ courses. I do know that ISO C++ is much faster than
C# or Java. I work for a consulting company. My client is spending
many millions and millions of dollars to develop a SDK for their cell
phones so that companies like EA will be able to write games in C++
(not Java or C# ) to run on their phones, even though Java games can
already run on their phones! Why? Performance! Also, I know one of
the chief instructors at EA, and he tells me that they have no plans to
move to Java or C# for at least the next 20 years. Performance is just
too important to a company like EA!

Thanks for your help!

Bob

David Wilkinson

.



Relevant Pages

  • Re: Forms and VC++
    ... David Wilkinson wrote: ... Again, a little confusing. ... and "dress it up" in a Windows App using the CLI. ... We have other courses that teach .NET, Java, ...
    (microsoft.public.vc.language)
  • Re: Running java programs from class files
    ... java -classpath /xyz/abc MyPackage.MyClass ... I think the most confusing part is the root business. ... I can get it to work if I put the jar file in the Class-Path: line in the manifest and put the jar file in the same directory as the program jar file but not from the command line. ...
    (comp.lang.java.programmer)
  • Re: What computer language is used a lot in the IT industry?
    ... >> It is confusing because the terminology is pointless, ... >> compiler writers. ... I should imagine that Java programmers have usually learned quite a bit ... by value' is potentially misleading when you are passing *references*. ...
    (comp.programming)
  • Re: Interfacing with external application
    ... web-enabling a third-party quote generation engine. ... or a windows test suite) either Java based or that I can ... If you have access to the source code of your windows app, you could try putting JNI hooks into it. ...
    (comp.lang.java.programmer)
  • Re: gui in perl
    ... >apps which look just like any other windows app; ... My god, Java produces horrible looking ... guis. ...
    (comp.lang.perl.misc)