Web programming >> C++.net, C#, and C++ compared
Posted by aewarnick on 05:01:00 01-11-2003
Is C++.net more similar to C++ than C# is?
What are the advantages and disadvantages of them?
Posted by aewarnick on 05:57:00 01-11-2003
I have been studying C++ for the past 2 weeks and I like it but I just wanted to make sure I am not making a mistake.

I have a goal to make a web page with forms on it to submit information to me or to the server and I was thinking I could not do that with C++ but I may be able to with C++ or C#.

I have heard that you can make applications without the .net framework with C# but I will be tempted to use the .net stuff.

I want a do-everything language or close to it and I was thinking that C++.net would be the closest but if I always need the .net framework for people to run my apps it is no use.
Posted by Neu[Mann] on 01:45:00 01-12-2003
Quote:
I have heard that you can make applications without the .net framework with C# but I will be tempted to use the .net stuff.


You are misinformed. The C# language is not dependent of the .NET framework but with the existing tools, it's difficult not to use the framework when writing C# programs. But the .NET is very fun to work with and I really recommend it for programmers.

Quote:
I want a do-everything language or close to it and I was thinking that C++.net would be the closest but if I always need the .net framework for people to run my apps it is no use.


C++.NET is not recommended for something else than integrating legacy native code into the .NET framework. C++.NET, as specified by Microsoft, is uselessly complex for simple application like CGI stuff. C# is a better deal, and C++ is your option if you plan to work on *nix platform, .NET being rather dependant on Windows for now.

If you are working on Linux, check Mono at http://www.go-mono.com.
Posted by KaGez on 12:02:00 01-12-2003
if all you do is writnig a little CGI anyways, using ANSI C++ would be a lot easier, and also portable. A GCI written in ANSI C should run on almost any platform, and nobody wil ever need any .NET stuff (or mono) to get the programs running.
[addsig]