Thread: Visual Basic vs Visual C++

  1. #1
    looking for the truth moemen ahmed's Avatar
    Join Date
    Feb 2002
    Location
    Egypt
    Posts
    161

    Visual Basic vs Visual C++

    hey...just a moment, im not trying to make a comparison between both of the languages...just im wondering what kind of applications could be done with VC++ and couldnt be done in VB?

    (beside low level programming>>> drivers....operating systems.)
    Programming is a high logical enjoyable art for both programer and user !!

  2. #2
    Registered User
    Join Date
    Jan 2002
    Posts
    387
    anything non-windows related can be done in C++ (VC++ is not a language, but a compiler) and cant be done in VB
    "There are three kinds of people in the world...
    Those that can count and those that can't."

  3. #3
    looking for the truth moemen ahmed's Avatar
    Join Date
    Feb 2002
    Location
    Egypt
    Posts
    161
    does this mean I ll not gain advantages using C++(i meant through the compiler vc++) more than i could gain using vb as long im working in windows environment?????
    Programming is a high logical enjoyable art for both programer and user !!

  4. #4
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    anything in c/c++ is much faster than in vb. much, much, much faster.

  5. #5
    Registered User
    Join Date
    Oct 2001
    Posts
    6

    Talking

    VB is much more restricted in its ways then C++ when it comes to Classes, inheritance etc..

    So if you want to write Programs mainly based on the Object Oriented point of View you should work with C++

  6. #6
    Registered User
    Join Date
    Jun 2002
    Posts
    13
    Well, VB is good for making a GUI quickly and easily. If you don't mind the slow execution speed, go with VB, although I would say that Borland Delphi has all the advantages of VB without as much of a speed hit. It uses object pascal as the base... However, for object-orientated programming C++ is better. VC is one of many C++ compilers though, and I would look at various free compilers before I spend the money to purchase VC.

    Oh, and by the way, If you do decide to stick with VB here's a tip: Always use the "option explicit" clause. It forces you to declare your variables (VB has a nasty habit of making new variables if you mistype the variable name. This can lead to weird results).
    "I suspect it's a problem with your code" - Professor Aman Abdulla, BCIT

  7. #7
    looking for the truth moemen ahmed's Avatar
    Join Date
    Feb 2002
    Location
    Egypt
    Posts
    161
    Hi guys , thanks you all for your response
    I already stacked with VB since ver 3 till now , its my experience field, however I decided to step into c++ gainning much more power (which I felt it the since the first day in C++)
    and by the way Option Explecite is a must for good programming style in VB , however sometimes i dont use it, as i spent long time programming (since gwbasic) so I depends sometimes on some old-fashioned style programming which ll be easier if i dont declare variables

    thanks you ppl again more opinions r welcomed always
    Programming is a high logical enjoyable art for both programer and user !!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 10
    Last Post: 11-23-2007, 12:13 AM
  2. Run Visual Basic code inside C++?
    By torbjoen in forum Windows Programming
    Replies: 8
    Last Post: 07-31-2002, 11:41 PM
  3. <list>
    By Unregistered in forum C++ Programming
    Replies: 9
    Last Post: 02-24-2002, 04:07 PM
  4. Visual Basic C++
    By gussguss in forum C++ Programming
    Replies: 8
    Last Post: 11-20-2001, 10:58 AM