Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > Visual C++
Visual C++ Questions specific to Microsoft's Visual C++. For questions not specific to this Microsoft version, use the C++ Programming forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual C++ section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old January 25th, 2006, 03:30 AM
Registered User
Join Date: Dec 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Can C++ be used to create a powerful web app?

I'm just off the wikipedia site, reading on the concept of CLI, Bytecode, JIT, Managed C++, etc. It jdawns on me that Microsoft's .NET Framework( still a key part of VS 2005)makes C++ no longer a precompiled Lan tool anymore! The C++ code is precompiled by .NET engine to bytecode, which is transmitted to the user, then translated into machine code by .NET virtual machine on the users's computer, just before runtime. (Just In Time-- JIT)

This is exactly like what Java does. So .NET Framework makes C++ like Java?

Here is my question, if .NET Framework makes C++ portable now, why bother with C#? as web tool creating ADO.NET or ASP.NET applycations?

Can I stay with C++ to creat a powerful ASP.Net apps?

Old January 25th, 2006, 06:44 AM
Friend of Wrox
Join Date: Jun 2003
Posts: 453
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to Ankur_Verma Send a message via MSN to Ankur_Verma

Larry, what you read is a fact but for "VC++ .NET" and not for C++ as a language in general.
With .NET its basically upto you as to which language you choose to write your program as
they all are compiled to run on .NET Framework only.

Its a decision that you make on the premise of you level of comfort with a particular language,
like for an instance people who are comfortable with VB, choose VB .NET. People who have
worked in JAVA a lot choose either J# or C# as both look familiar to them. Others who have worked
on C++ a lot would either choose C++ or C# as again both are similar languages.

But if you choose to go with C++ in any of the Visual Studio versions after VS 6 you have an
option of programming for native windows environment in which case you dont need to have
.NET framework installed on the target machines. So C++ is still alive in MS domain as
it lets you do native windows programming.

Also every language offers a few advantages over the other. Like C# and C++ support operator
overloading VB .NET doesnt (VB 2005, the latest version of VB does.). C++ had the concept of
templates; in C# and VB a similar concept called Generics has only recently been introduced etc.

To answer your last query though, ya I would way you CAN stay with C++. You can do all sorts
of programming, web/database application development and stuff using VC++ .NET. But every
Movement, as you would agree, speaks a language. When talk about the .NET Movement, C# is
the de-facto .NET language. C# relects well on the development of .NET and Microsoft's vision
behind it. VB, however is the most happening language in .NET domain, easiest to learn and fun
to write programms with.

Ankur Verma

Similar Threads
Thread Thread Starter Forum Replies Last Post
Interface between web app and win app alienaheart ASP.NET 2.0 Professional 4 August 4th, 2009 09:29 AM
Convert a VB.Net app to a web app? furjaw VB.NET 3 September 24th, 2007 12:27 PM
Can c++ be used to create a powerful web app? larryfran C++ Programming 1 January 25th, 2006 06:52 AM
how to create the print layout on the web app? zouky Crystal Reports 1 October 18th, 2004 11:54 AM
Create C# Web App Visual Studio on remote IIS 6 lange Classic ASP Professional 0 July 31st, 2004 09:34 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.