473,395 Members | 1,343 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

VC++ - VC#

Hi,

I have to develop an application which involves lot of GUI. I have the
sufficient skills in both VC++ 6.0 and VC#. I have developed applications
using VC++6.0 earlier. Is it worth to develop new applications in VC# through
which I can get advatages of garbage collection, managed code etc.,? or Shall
I continue to develop in VC++6.0.

Can somebody break this confusion?

By,
C G S Reddy.
Nov 17 '05 #1
8 1358
Why not use managed C++ and get the best of both worlds?
--
Un saludo
Rodrigo Corral González [MVP]

FAQ de microsoft.public.es.vc++
http://rcorral.mvps.org
Nov 17 '05 #2

"C G S Reddy" <CG******@discussions.microsoft.com> wrote in message
news:CE**********************************@microsof t.com...
Hi,

I have to develop an application which involves lot of GUI. I have the
sufficient skills in both VC++ 6.0 and VC#. I have developed applications
using VC++6.0 earlier. Is it worth to develop new applications in VC#
through
which I can get advatages of garbage collection, managed code etc.,? or
Shall
I continue to develop in VC++6.0.

Can somebody break this confusion?

By,
C G S Reddy.


I agree with Rodrigo.
The choice between C++ and C# is primarily about platform dependence. C# is
a .NET language, pure and simple (yes, I know it's possible to write
unmanaged C# code...), while C++ allows you to choose between .NET, MFC, Win
API, etc. So, if your target is only .NET, consider C# for its new features
and ease of use. Otherwise, C++. What I can't figure out is why you haven't
moved to VS .NET 2003 and the new VC 7.1 compiler, which is more
standards-compliant than previous versions (and just better, IMHO).

--
Peter [MVP Visual Developer]
Jack of all trades, master of none.
Nov 17 '05 #3
Peter van der Goes wrote:
I agree with Rodrigo.
The choice between C++ and C# is primarily about platform dependence. C# is
a .NET language, pure and simple (yes, I know it's possible to write
unmanaged C# code...), while C++ allows you to choose between .NET, MFC, Win
API, etc. So, if your target is only .NET, consider C# for its new features
and ease of use. Otherwise, C++. What I can't figure out is why you haven't
moved to VS .NET 2003 and the new VC 7.1 compiler, which is more
standards-compliant than previous versions (and just better, IMHO).

C# has nothing more to offer than C++ in .NET. Especially after C++/CLI,
C# will provide less.
Another thing that I think will be funny in the WinFX era is C#/VB vs
XAML. Since XAML will exist, why would anyone learn VB or C#?
XAML will be a *compiled* .NET language in the style:
<Window>
<Button>
"OK"
</Button>
</Window>


--
Ioannis Vranos
Nov 17 '05 #4
I completely agree!!!

--
Un saludo
Rodrigo Corral González [MVP]

FAQ de microsoft.public.es.vc++
http://rcorral.mvps.org
Nov 17 '05 #5
Ioannis Vranos wrote:
[...]
C# has nothing more to offer than C++ in .NET. Especially after C++/CLI,
C# will provide less.
I disagree. In my opinion as somebody who has been paid to write C++ for
many years, and C# for just over a year, C# has much better syntax for
expressing the sorts of constructs you use day-to-day. C++ is handy for
the more obscure stuff.
Another thing that I think will be funny in the WinFX era is C#/VB vs
XAML. Since XAML will exist, why would anyone learn VB or C#?

[...]

Because XAML is XML, and XML is not the perfect solution to every
problem that some seem to think it is.

--
Tim Robinson (MVP, Windows SDK)
http://mobius.sourceforge.net/
Nov 17 '05 #6
Tim Robinson wrote:
I disagree. In my opinion as somebody who has been paid to write C++ for
many years, and C# for just over a year, C# has much better syntax for
expressing the sorts of constructs you use day-to-day. C++ is handy for
the more obscure stuff.

Please provide an example. What better syntax C# provides in place of
ref class?
On the other hand it does not provide any syntax for compile-time
templates and lacks implicit deterministic destruction as two examples.


--
Ioannis Vranos
Nov 17 '05 #7
Using C++, especially the new C++/CLI which is coming with VS2005, you have
the better of two worlds, managed and unmanaged, you can mix this two
worlds, and you have all the power of C++ and STL in your hands.

But I don't believe in religious fights about programming lenguages, even
less in the managed world. Use the lenguage you want, each lenguage have
advantages and drawbacks, but diferences between lenguages are few in .Net.

One thing is absolutly true, you can do things in VC++/CLI that are very
hard to do in other lenguages, but the opposite is not certain, without
considering asp.net.
--
Un saludo
Rodrigo Corral González [MVP]

FAQ de microsoft.public.es.vc++
http://rcorral.mvps.org

Nov 17 '05 #8

I would not recommend going with visual studio .net 2003 7.1 if your
application is large. My application has about 80 projects and takes much
longer to compile and much much longer to link than VC6. Apparently there's
a new version coming out which has more reasonable compile/link/IDE times.

Chris

"C G S Reddy" <CG******@discussions.microsoft.com> wrote in message
news:CE**********************************@microsof t.com...
Hi,

I have to develop an application which involves lot of GUI. I have the
sufficient skills in both VC++ 6.0 and VC#. I have developed applications
using VC++6.0 earlier. Is it worth to develop new applications in VC#
through
which I can get advatages of garbage collection, managed code etc.,? or
Shall
I continue to develop in VC++6.0.

Can somebody break this confusion?

By,
C G S Reddy.

Nov 17 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Tatu Portin | last post by:
Have this kind of struct: typedef struct { char **user_comments; /* ... */ } vorbis_comment; /* prototype */ char * read_vorbis_string ( FILE *sc);
4
by: Anthony Gallagher | last post by:
I have a bunch of libraries compiled using VC++ 6.0, and I am trying to recompile one of our projects using VC++ .NET. I get all kind of linker errors (specially in STL calls). How do I get rid of...
5
by: Hari | last post by:
Guys please help me to solve this strange problem what Iam getting as follows.. Trying to instantiate a global instance of a template class as follows :- when i build this code with debug and...
2
by: vemulakiran | last post by:
Hi all, I have doubt regarding .NET. I have a tool which was developed on VC++ 6.0(Win32 Application ). The application communicates with library (API) which was developed on VC++ 6.0 called core...
2
by: | last post by:
Everything seems to be moving to .NET and VC++ seems to be adding a lot of managed code support every new release. The questions: is unmanaged code in VC++ beeing phased out in favour of managed...
4
by: ultranet | last post by:
I have cruised around http://msdn.microsoft.com/visualc/ and the rest of the site, and i am not able to find a single C++ or VC++ certification exam that will be available after June 30, 2004. I...
1
by: Steve | last post by:
We are considering the ways to migrate our VC++ 6.0 applications to .NET platform. It would be nice to rewrite them completely in C#, but due to the time constraints this option is out of...
2
by: um | last post by:
When the POSIX pthreads library for w32 release 2-2-0 (http://sources.redhat.com/pthreads-win32/) is compiled with VC++6 then it compiles and passes all the benchmark tests in the subdirectory...
15
by: Michael Tissington | last post by:
I have a Visual Basic 6.0 ActiveX Control. It seems there is no way with VS 2005 to create a similar control for containers that host ActiverX controls, is this correct ? I'm thinking of...
7
by: Norman Diamond | last post by:
A project depends on VC runtime from Visual Studio 2005 SP1, and DotNet Framework 2. Options are set in the setup project properties, so if these two dependencies are not already installed then...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.