Page 2 of 2 FirstFirst 12
Results 26 to 39 of 39

Thread: Which is better VB or C++?

  1. #26
    Orc's Breathmint Reputation: 10

    Join Date
    May 2006
    Location
    In the annex of creation...
    Posts
    113
    Rep Power
    10

    Default

    I have become interested in this conversation. What games are written in C#?

    -Bryan-

  2. #27
    Manic's Maniacal Machine Reputation: 10
    SilverIce's Avatar
    Join Date
    Jul 2006
    Location
    In Tar Valon
    Posts
    1,978
    Rep Power
    10

    Default

    well, my friend says she thinks vb would be good for txt based rpg what with the if/then and such... (dont know the actual stuff) anyhoo, she started teaching me some, and she said you can do some stuff like if heroweapon equals icesword then hit equals 5-10 or whatever. this is not real VB. i dont really know anything about it, but i would do vb. also the fact your learning in school is wicked cool, it will help you out later.

  3. #28
    Banned Reputation: 14
    TwitcH's Avatar
    Join Date
    May 2006
    Posts
    2,022
    Rep Power
    0

    Default

    I found the best way to decide between two different programming languages was to sit and read them. Find yourself an example of a program written in both VB and C++, then read it through line by line and see if you can easily follow what it is doing, if you follow one easier than the other then maybe that's gonna be the easiest language for you to learn.

    For example when I was first starting to program I couldnt decide between C and C++, so I just read through a basic hello world program:


    Code:
    //my c++ example of hello world
    
    #include <iostream>
    using namespace std;
    
    main() 
    {
       cout << "Hello World!\n";
    }
    And:

    Code:
    //My example of hello world in C.
    
    #include <stdio.h>
    
    int main()
    {
       printf ("Hello World!\n");
    }
    I read through them both line by line and came to the conclusion that C was easier to understand for me, i saw printf and thought "ok thats gonna print something". Then I saw cout << and thought "erm? wtf.". But maybe that's just me, I hope you try this and I hope this help's with any other languages anyones having trouble deciding between.

    (Please note that looking at hello world for an example is pretty crappy, you might wanna try something a bit more complex, I just posted Hello World because it's short and sweet.)
    Last edited by TwitcH; 07-19-2006 at 01:56 AM.

  4. #29
    Danteís Inferno Reputation: 10
    naruto1327's Avatar
    Join Date
    May 2006
    Location
    OLD PROFILE. NEW: NOODLEPOWA
    Posts
    608
    Rep Power
    10

    Default

    Some people may have a different perspective of "cout << " because its commonly pronounced as "see-OUT", and the " << " has a visual effect as to the flowing of text onto the screen.

  5. #30
    Orc's Breathmint Reputation: 10
    Kyuur's Avatar
    Join Date
    Jul 2006
    Location
    Alberta - Canada
    Posts
    117
    Rep Power
    10

    Default

    As everyone says, its mostly a matter of preference and what you need to do. Also, some things use multiple languages. For example, if I was making an MMORPG, I could just do everything in C++, but why bother when theres other tools to do such? Maybe make the patcher in VB, the server in C++, and the client in DarkBasic with a few addon C++/Assembly DLLs to assist? Theres a lot of diffirent uses for diffirent languages, but diffirent things can be pulled off at diffirent rates. Then again you go back to the matter of personal preference. =P

  6. #31
    Danteís Inferno Reputation: 10
    naruto1327's Avatar
    Join Date
    May 2006
    Location
    OLD PROFILE. NEW: NOODLEPOWA
    Posts
    608
    Rep Power
    10

    Default

    C++ rocks.

    Period.

  7. #32
    Link's Dirty Sock Reputation: 10
    n0madic0debc's Avatar
    Join Date
    Jul 2006
    Posts
    41
    Rep Power
    10

    Default

    Lets see here, VB is a good language simple, easy to learn, and plus comes with programs that let you see what your doing and you just go ahead double click the object in the prog your creating and then you code. C++ i think is something i would love to get into, it looks way more flexable then any language i have seen. NOT SAYING THATS ITS THE BEST, but it looks likes alot of these game companies are using it now. I still think it just depends on what you want to do. All languages have boundaries some more then others so it just depends.

  8. #33
    Danteís Inferno Reputation: 10
    naruto1327's Avatar
    Join Date
    May 2006
    Location
    OLD PROFILE. NEW: NOODLEPOWA
    Posts
    608
    Rep Power
    10

    Default

    Just as everybody says, it depends on your preference.

  9. #34
    Bongo Crazy Kong Reputation: 10

    Join Date
    Jul 2006
    Posts
    230
    Rep Power
    10

    Default

    Quote Originally Posted by naruto1327
    Some people may have a different perspective of "cout << " because its commonly pronounced as "see-OUT", and the " << " has a visual effect as to the flowing of text onto the screen.
    Actually it all depends on the way people think and react to code. I personally have seen Visual Basic code at the same time have seen C++ code and was just find with it.
    Personally I like C++ better ,but at the end it comes out to which gets the job done quicker and better. Lets say for Applications I would go for Visual Basics becauses thats what it was made for, but don't get me wrong some really nice games have been made in Visual Basics.For those of you who are interested in NarutoRealm that is written in Visual Basics.

  10. #35
    Danteís Inferno Reputation: 10
    naruto1327's Avatar
    Join Date
    May 2006
    Location
    OLD PROFILE. NEW: NOODLEPOWA
    Posts
    608
    Rep Power
    10

    Default

    Oh but thats just my opinion. =P

  11. #36
    Marios's Mustache Wax Reputation: 10

    Join Date
    Aug 2006
    Posts
    13
    Rep Power
    10

    Default

    I am a noob to these boards but have been programming for over 10 years, primarily in VC++, currently I am writing code in VB.NET at work and C# for my own application. Iíve also programmed in PASCAL and some other obscure language. I prefer the C style of programming because Iíve done it for most of my professional carrier.

    As far as the question which is better VB or C++ like some have pointed and showed you the pros and cons of each one. I personally think that C++ is more powerful primarily because of its ability to address direct memory location and manipulate them with hardly any effort.

    Really though I think you are asking the wrong question. The questions you should be asking is what kind of stuff do I want program? Once you have answered that you need to then look at the most common denominator as far as programming languages then go learn that. If you donít learn that most used language you are just limiting your marketability.

    Personally I think a programmer that is worth his/her weight can pick up any 4GL and learn to program in it with a very little learning curve. Surely there are limitations to some 4GL programming languages out there but mostly the difference between one programming languages is syntax. Programming Zen for me is to be able to take pseudo code and then be able to translate that pseudo code into any 4GL.

    The most important thing to learn, is object orientation. Learn to look at things broken up into very basic objects and that object put together can be put together to make other more complex objects. So on and so forth.

    Also to note for Windows computers .NET is here to stay. Since you are just getting into programming I really suggest you look at downloading the free Microsoft's C# Express development environment. Unless you want to make cross platform games then learning C is your best option.

    Sorry for the long post.

  12. #37
    Danteís Inferno Reputation: 10
    naruto1327's Avatar
    Join Date
    May 2006
    Location
    OLD PROFILE. NEW: NOODLEPOWA
    Posts
    608
    Rep Power
    10

    Default

    No need to be sorry for posting something long. What is VC++?

  13. #38
    Link's Dirty Sock Reputation: 10
    AlexS's Avatar
    Join Date
    May 2006
    Posts
    43
    Rep Power
    10

    Default

    What is VC++?
    Microsoft's C++ IDE.

  14. #39
    Danteís Inferno Reputation: 10
    naruto1327's Avatar
    Join Date
    May 2006
    Location
    OLD PROFILE. NEW: NOODLEPOWA
    Posts
    608
    Rep Power
    10

    Default

    OHH. Ok thanks =P

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •