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%

Thread: VB compared to C++

  1. #16
    The N00b That Owns You!
    Join Date
    Jul 2005
    Location
    Canada!
    Posts
    178
    Quote Originally Posted by major_small
    I have to say most of my initial knowledge of C/C++ came from these boards...

    ditto...
    New Function!!!!

    glAddIdol(C+noob);

    The feeling of rusty spoons against my salad fingers is almost ORGASMIC

  2. #17
    The N00b That Owns You!
    Join Date
    Jul 2005
    Location
    Canada!
    Posts
    178
    Quote Originally Posted by Terrance
    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.
    lol why take vcourses in college lol noone better for web scripting (PHP Javascript etc.) than moi :P unless its ASP cus i hate that ........
    New Function!!!!

    glAddIdol(C+noob);

    The feeling of rusty spoons against my salad fingers is almost ORGASMIC

  3. #18
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    I agree with quite a few of you here; C++ and VB are very different languages and each one should be used as appropriate. VB was my first language (well, BASIC is the language) followed - 18 months later - by C++.

    90% of the programs I write now are in C++. I rarely use VB except to write GUI front-ends for programs I have written in other languages when I can't be arsed to write a GUI in MFC / win32api / gtk or whatever.

    In my opinion it plain boils down to what your program is trying to acheive.

  4. #19
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    I dislike VB...but it does have it's strengths - it's simple to get an app going and it doesn't give you as much bother as C++.

    This makes it good as a prototype tool. I'm writing a front end for a database right now. I decided to write it in VB first as I can fly through it and spot problems quickly (without having to also worry about my code).

    Also, if I'm writing an activeX object in C++, I use VB to test it as it's simple to get going and doesn't distract me from the task at hand.

    On the other hand I spent 2 years working for a firm that used a VB written front end to an Oracle DB, and that was awful - very slow, unresponsive and a total resource hog. Maybe this was due to the coding (AFAIK the service from the database was fine), but it was such a pig to use that it's made me sware of VB for full scale apps forever.

  5. #20
    Registered User Frobozz's Avatar
    Join Date
    Dec 2002
    Posts
    546
    Quote Originally Posted by C+noob
    i mean im gonna stick with C++ but Visual Basic?!?!? is there anything Visual Basic can do that C++ cant?
    That would depend on which version you are talking about: version 6 or .NET.

  6. #21
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    Quote Originally Posted by Frobozz
    That would depend on which version you are talking about: version 6 or .NET.
    not really... anything VB can do can be done in C++

    note that it may be easier to do some things in VB, but AFAIK, there's nothing that can be done in VB that can't be done with C++.
    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

  7. #22
    The N00b That Owns You!
    Join Date
    Jul 2005
    Location
    Canada!
    Posts
    178
    lol thats great id rathr do everything manually i dont like things that do it for me. ex. my loadicon thingy in windows programming that post dev-cpp can auto-assign a icon but i wanna do it manually.
    New Function!!!!

    glAddIdol(C+noob);

    The feeling of rusty spoons against my salad fingers is almost ORGASMIC

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, 06:16 AM
  2. C with VB ?
    By khpuce in forum Windows Programming
    Replies: 2
    Last Post: 02-21-2005, 08: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, 03: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