Can C++ develop web-based applications?

Hi, All

New to C++ programming. and have put resource in C++ and VC books and time learning it. But now I was told that C++ can not develop web based apllications. Is this true or some extensions of C++ can go around this limit

I need develop a web-based database, so the users can input company names, location, phone numbers. etc. and the users can have a full text search on this database.

Do I have to learn C# and and SQL to do this

Thanks.



Answer this question

Can C++ develop web-based applications?

  • Adeel Hussain

  • Antonis

    Thanks.

    Can you suggest me some ASP.NET and C# web links which have good tutorials


  • Jörg Schwalenberg

    Hi, Cgraus, thanks for the input. Looks like C# is lan. tool that holds future.

    But switch is not that easy. I noticed a developer site done a survey, saying C but not c++ is the second of top 20 lan tools used today, guess that the old habits holds.

    But looks to me Microsoft is made up its mind to flagship C#, not C++, since most recent samples are in C#. Am I right on this


  • CosmicFred

    "All these things in the end are tools, the more tools you have in your tool box the more valuable you are and the easier your job becomes."

    You said that.

    A universal tool might not cut it in a particular situation like you mentioned.


  • kay don

    *grin* G'day Nish. Really, why would anyone want to do this, except to support a legacy system



  • NaUmI

    Thanks, BH

    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


  • MindlessDrone

    You need to learn SQL no matter what.

    You can write web apps using VBscript and C++, that's call ASP. It really sucks. You should learn C# and ASP.NET, you'll find the jump from c++ pretty easy, because the syntax is very similar. And ADO.NET beats the hell out of ADO.



  • Veonmike

    Its got loads of stuff. It's all about web sevices.

    http://msdn.microsoft.com/library/default.asp url=/library/en-us/vccore/html/vcconATLServerTutorial.asp

    The only reason I mentioned it is because I was thinking if it would be any good for gaming since DirectPlay is being phased out.

    I doubt if you'd need in most cases, but as a C++ programmer it seems pretty handy.


  • steveculshaw

    thanks for the links.
  • trillgates

    As far as I know, it's not possible to write ASP.NET sites in C++. Switching IS easy, the syntax is very similar. There will always be a survey that supports whatever conclusion anyone wants to push. You will find plenty of samples for ASP.NEt in C# and VB.NET. VB is a nightmare for a C++ developer, because the syntax is a mess. At least, that's how I find it.



  • Simon Morris

    If ATL server(server ) can develop COM objects like Automation Server(like the one you mentioned ) and Active X controls, can ATL be used to develop web based database that allow users' input, transaction, search, or all main attributes that a web database should have
  • Helpless and abandoned

    The real power comes in using both C# and C++. ATLServer can be used with ASP.NET where performance is critical and the nice thing is its based more on web services rather than COM.

    I agree with cgraus about VB, it nearly made me go blind, one side is blue and the other is black, I just couldn't focus.


  • VMazur

    Server side while something like C# for the user interface maybe, you'll find that some of the .Net web stuff written i C++ is actually converted to C#, that's why I said both. ATL Server is unmanaged but it runs on the same principle of making it easier to use. All these things in the end are tools, the more tools you have in your tool box the more valuable you are and the easier your job becomes.

    You here people say things like C is rubbish because of OOP, but if someone said to you that they have a few 8051 micro-controllers that they wanted you to program then suddenly C is your best friend because these high-level languages are of no real use for real low level programming.

    I had to learn how to program in a Basic style language so I could make a simple timer with a Parrallax chip for an artist who made this metallic flower where the petals mimicked the time as they opened and closed. Since I knew about loops and the like it wasn't that hard to read up on what to do and in the end I made myself some money.


  • kaandinc

    For inline code and for code-behind, you have to use either C# or VB (both are similar languages). But you can put most of your core code in managed or mixed-mode DLLs written in C++.

  • Can C++ develop web-based applications?