Really Noob Question: MS visual basic 2005 vs. Visual Studio 6.0 vs. visual studio 05

Discussion in 'Programming' started by camel101, Mar 5, 2007.

  1. #1
    My school offers a few of them for download.

    I need to do my first hello world assigment and I'm not sure which one to download.

    Basically I need to do something like this

     //My first C++ program
    
    #include <iostream.h>
    
    int main ()
    { cout << "The first line. \n";
    return 0;}
    Code (markup):
    Then save that program as an .exe file so I can open it up.
    Now which is the best and easiest to use?

    Thanks:cool:
     
    camel101, Mar 5, 2007 IP
  2. ccoonen

    ccoonen Well-Known Member

    Messages:
    1,606
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    160
    #2
    Hmm, this is just straight C++?

    Then you don't need the enviroment, you just need a compiler. (G++ maybe)

    Otherwise, get Visual Studio or VS .NET - I believe they have a built in compiler for C++ but the latest is really pushing C# as the latest pimp in C-Land.

    Their are plenty of free C++ compilers out there :)
     
    ccoonen, Mar 5, 2007 IP
  3. TwistMyArm

    TwistMyArm Peon

    Messages:
    931
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #3
    VB2005 obviously is no good to you. VS6.0 is a number of years older than VS2005.

    If you can get any of them, I'd take VS2005. Seeing as you're obviously making a command line app (as opposed to a GUI), just be sure to create a 'CLR Console Application' and clean out the crap that it gives you to start with :)

    Having said all of that... if you are actually developing in a UNIX / Linux environment at school, I would suggest not using any of them and instead invest some time in setting up a Linux distribution. At least then there's a better chance of the code moving nicely from school to home and back again.
     
    TwistMyArm, Mar 6, 2007 IP
  4. Master_Moving

    Master_Moving Guest

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    i would go on VS 2005 , its really good for the basic u going to.
     
    Master_Moving, Mar 6, 2007 IP
  5. camel101

    camel101 Guest

    Messages:
    39
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Thanks. I went with VS2005.
    I like it, but I can not find the option to make the .exe file to run it.
    In other words how do I run my helloworld file i made above.
    I compiled it via the build option, but cant find the run .exe option found in vs 6.0.

    As for Linux, I would love to, but school is only pc and vs 2005.

    thanks
     
    camel101, Mar 6, 2007 IP
  6. TwistMyArm

    TwistMyArm Peon

    Messages:
    931
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #6
    In the 'Debug' menu there are two options that are of use to you: 'Start Debugging' and 'Start Without Debugging'.

    Alternatively, just look in the build output directory (probably either 'Debug' or 'Release') in your project directory.
     
    TwistMyArm, Mar 7, 2007 IP