View Poll Results: Which is Better in the long haul?

Voters
22. You may not vote on this poll
  • Visual Basic

    1 4.55%
  • C++

    21 95.45%

VB compared to C++

This is a discussion on VB compared to C++ within the A Brief History of Cprogramming.com forums, part of the Community Boards category; i mean im gonna stick with C++ but Visual Basic?!?!? is there anything Visual Basic can do that C++ cant? ...

  1. #1
    The N00b That Owns You!
    Join Date
    Jul 2005
    Location
    Canada!
    Posts
    178

    VB compared to C++

    i mean im gonna stick with C++ but Visual Basic?!?!? is there anything Visual Basic can do that C++ cant?

    i heard Visual Basic lacks the flexibility of C++ that pretty much you can do anything your mind desires with C++ and not visual basic. Whats up with this?

  2. #2
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    As usual, I'll make the point that they are not designed to do the same thing, therefore trying to compare them on a one v one basis is totally meaningless.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  3. #3
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    C++ allows more lower-level functions that does VB...

    http://en.wikipedia.org/wiki/High-le...mming_language

    also: try writing a VB program that runs on linux.
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  4. #4
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,138
    Is VB better ? No. Quicker, easier, more seductive.

    VB is the dark side of the source.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  5. #5
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    Using VB is about as fun as masterbating with a cheese grater!
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

  6. #6
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429
    >>also: try writing a VB program that runs on linux.

    Believe it or not, you can get some VB programs to work in a *nix environment.

    And VB has it's place... it's the best language I know for creating a quick GUI with some functionality.

  7. #7

    Join Date
    May 2005
    Posts
    1,041
    Quote Originally Posted by Stoned_Coder
    Using VB is about as fun as masterbating with a cheese grater!
    I resent this statement...I have a cheese grater fetish.

    It entirely depends on what type of programming you want to do. You *can* accomplish anything in VB that you'd want to do including 3D graphics, but VB is better for quickly creating pretty applications without farkling around with arcane operating system code. Remember, you can compile VB apps into executables, so not everything has to be run interpreted, but whenever something is inefficient you cannot optimize it due to its high level nature. It also makes working with databases quite easy (I remember having to write SQL apps in high school as a part of the VB course there).
    I'm not immature, I'm refined in the opposite direction.

  8. #8
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    Quote Originally Posted by ober
    >>also: try writing a VB program that runs on linux.

    Believe it or not, you can get some VB programs to work in a *nix environment.
    WINE is pretty clever, isn't it?
    Away.

  9. #9
    CIS and business major
    Join Date
    Aug 2002
    Posts
    194
    Quote Originally Posted by nvoigt
    Is VB better ? No. Quicker, easier, more seductive.

    VB is the dark side of the source.
    Exactly, that's what vb does, that c++ doesn't.

    Coding in MFC, .Net, writing link lists and binary trees are all great. I spent 750 class hours learning all of those things as well as coding up several real world projects in an intensive masters certificate course. Now, two years later, I have trouble writing a gui calculator in MFC/c++.

    Now that I'm a junior in college, studying CIS, (couldn't take any real computer classes my frosh and soph year of college, except intro), I'm now opting to take my electives in VB, advanced VB, XML, and other web development languages. These languages aren't as powerful as c++, but at least I know I'll still be able to use them if I stray away from them for a couple of months.

    But I def don't regret learning c++ first, just wish I could actually code a halfway decent program two years after learning it.

  10. #10
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    Quote Originally Posted by confuted
    WINE is pretty clever, isn't it?
    I meant without external help... but now I'm wondering if ober meant it the way I did...
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  11. #11
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429
    I meant without WINE. Certain VB apps can run in a *nix environment, but I'm not going to sit here and tell you that any small app could make the leap. Most require the VB runtime, which runs only under Windows.

  12. #12
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    Quote Originally Posted by ober
    I meant without WINE. Certain VB apps can run in a *nix environment, but I'm not going to sit here and tell you that any small app could make the leap. Most require the VB runtime, which runs only under Windows.
    that's interesting... I never knew that before
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  13. #13
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429
    You learn a lot when you spend a lot of time asking and answering questions on programming bulletin boards like this one.

  14. #14
    Banned nickname_changed's Avatar
    Join Date
    Feb 2003
    Location
    Australia
    Posts
    986
    Forgetting that it's not a great question to ask here considering the obvious bias towards C++ that you would expect at a C++ programming forum, the original poll question was "which is better in the long haul". If you are a young student and want a career as a programmer, I'd go C++.

    C++ will teach you much more about the internals of programs and how things work at a lower level. I work as a C#/VB.NET developer, but every day I am thankful that I learnt C++ first, because it's given me an understanding that I wouldn't have if I had started with C#/VB.NET. That said, I haven't written a line of C++ in almost two years now, and I don't plan to.

    I don't believe this is a question that deserves the stock standard "pick the right tool for the job" response. If he had asked which language would be best for writing a website and finishing it in less than a week, then this would be the correct answer. But I believe that in 20 years, you're much more likely to say "I'm glad I spent hours chasing that memory leak in C++ way back" than "I'm so glad I learnt how to concatenate strings in VB".
    Last edited by nickname_changed; 07-09-2005 at 11:16 PM.

  15. #15
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    Quote Originally Posted by ober
    You learn a lot when you spend a lot of time asking and answering questions on programming bulletin boards like this one.
    I have to say most of my initial knowledge of C/C++ came from these boards...
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Passing an Array of Strings from VB to a C DLL
    By mr_nice! in forum Windows Programming
    Replies: 9
    Last Post: 03-08-2005, 05:16 AM
  2. C with VB ?
    By khpuce in forum Windows Programming
    Replies: 2
    Last Post: 02-21-2005, 07:00 AM
  3. Passing parameters from VB to C++ through ActiveX DLL
    By torbjorn in forum Windows Programming
    Replies: 0
    Last Post: 12-10-2002, 02:13 AM
  4. VB Speed compared to VC++ Speed.
    By Xei in forum C++ Programming
    Replies: 6
    Last Post: 05-19-2002, 04:01 PM
  5. Sending a string to C++ from VB 6.
    By VirtualAce in forum C++ Programming
    Replies: 4
    Last Post: 08-21-2001, 02:28 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21