Tuesday, July 28, 2009

Advantages to using C++ vs Visual Basic?

I program Visual Basic and I've been starting to look in C++ which seems to be much more common, but I'm wondering what are the advantages to C++? I assume there's a reason people would use a more complicated language, and I'm curious what it is.

Advantages to using C++ vs Visual Basic?
As you are a Visual Basic programmer you can not find anything special in C++. However you can get something new in Visual C++.


In visual C++ you get a good base for Document/view architecture that eases the programming functionality. VC++ also gives MFC supports that makes "everything possible" in windows programming.


For a form based programming VB is the best option but for device driver development, Multidocument document interface applications and programs like "paintbrush" VC++ looks easier.


If you come to C++ only, this is the base of VC++. But C++ console appliction do not give you any extra benefit. But I think that C++ is conceptually easy to understand and once you are familier to Object oriented concept of C++ you can use it in VB too!!!
Reply:the difference is like a painter using color provided by somebody else and a painter who made colors from his own resources and also others


he had wide range of source and can do wide variety of work now imagine a vb is similar to previous one and the second one like c++
Reply:Visual Basic (VB) is an interpreted language.


C++ is a compiled language.





You don't need access to runtime modules when you run a C++ program, VB programs require access to runtime modules.


This statement means that C++ programs do not require DLL modules, VB require VB runtime DLL modules to run.


C++ programs run faster than Visual Basic programs.


No comments:

Post a Comment