Thread: visual basic vs C or C++

  1. #1
    Registered User
    Join Date
    Jan 2005
    Posts
    51

    visual basic vs C or C++

    I don't know much about Visual Basic, but a number of people tell me they use it and like it. Keep in mind they are on the other side of the coin from me and they don't know C.

    My question is for those who program windows using both. Is Visual Basic much better for programming windows? I am comfortable with C and kind of lazy to learn another language. Can you do everything with visual basic you could do in C or C++? Is there a great advantage in learing visual basic? Am I just too behind the times?

    Thanks for your opinions.
    Last edited by FOOTOO; 02-04-2005 at 07:33 PM. Reason: typo

  2. #2
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,268
    The only advantage visual basic has over C, is that visual basic can create simple windows programs faster than you could do using just C.

  3. #3
    Registered User
    Join Date
    Jan 2005
    Posts
    51
    Can it do things like structures and pointers to structures or perhaps function overloading?

  4. #4
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Quote Originally Posted by FOOTOO
    Can it do things like structures and pointers to structures or perhaps function overloading?
    >>structures

    Yes.

    >>pointers

    To a moderate degree

    >>function overloading

    Dont think so.

  5. #5
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    As has been said already, VB is great at putting together a GUI quickly. In fact, a lot of people use VB to build the UI, but link it to .dll's written in C/C++ to get the functionality they require, with the painless UI construction VB offers.

    There are other rapid development tools available. I regulaly use Delphi which has some similarities to VB when it comes to UI construction, but it really shines when you need to develop database front ends, the VCL class library is well thought out. If you want a rapid development tool that uses C/C++ as it's working language, get an eval of Borland C++ Builder. It uses the same class library as Delphi, but I can't comment further as I've never used it - it should be a good product however.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  6. #6
    Registered User
    Join Date
    Jan 2005
    Posts
    51
    Thanks for the feedback.

    Based on what you've described, I guess I'll stick to the C/C++ languages. I think Watcom provides a visual programmer program, but I never played with it. It sounds like my time would be better spent mastering my petzold book than to tackle learning visual basic.

    Thank you.

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