Discussion Locked

Visual c++ vs Visual basic?

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have been asked this question for a very long time. It goes like this - Why would one choose Visual C++ instead of Visual Basic or virse vesa.

I have used Visual C++ to design a game and I found is very interesting. I later used VB because it'sa standard programming language for the company I work for.

I find VB very easy, the only drawback is that it allows the use of undeclared variables. On the other hand, visual c++ has a compiler that checks this. There many other differences.

But really, does it matter which language we use? Both VB and Visual C++ can be used to develop games,database systems and distributed applications.

Please help. What are the "real" differences between this languages? Why can't we just have one of them?

2 replies

by rayblnc

The main difference between the two languages is efficiency. C/C++ is often touted as being one of the most efficient high-level languages. Not to mention that it also allows bitwise manipulation- a technique that makes it very popular for embedded development because of resource and efficiency considerations.
Visual Basic, on the other hand, is efficient from another point of view, that of the developer. Program code is often easier to debug in VB. It is also true that an application that would take thousands of lines of C++ code can be written in only hundreds with VB. The deciding factor is, in my opinion, that if you want machine efficiency, use C++, if however human efficiency is more important, use VB.

This discussion is closed to new replies.