CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: Hello World

  1. #1
    Join Date
    May 2002
    Location
    Mumbai
    Posts
    197

    Hello World

    Hi
    I need to learn VC++.Net.
    I have knowledge of VC++ (6.0).
    Can any one give me links where I can find initial chapters of VC++.Net.
    I am ready to begin with "HelloWorld", program.
    Please help me.
    Thanks and regards
    SunnyPriya

  2. #2
    Join Date
    Nov 2003
    Location
    Seattle, WA
    Posts
    265

    Re: Hello World

    Here are 75 samples of managed code.
    http://www.microsoft.com/downloads/d...displaylang=en

    When you create a new managed console application. It is already set up with a hello world style begining.
    Last edited by Jinto; January 9th, 2005 at 04:51 AM.
    "Lose it? It means go crazy...nuts...insane...bonzo...no longer in possession of one's faculties...3 fries short of a happy meal...WACKO!!!"

  3. #3
    Join Date
    Jan 2005
    Posts
    2

    Re: Hello World

    Dear miss priya

    concerning hello world i dont know if anyone has replied helpfuly but i will try this should work.

    1. start visual c++.net
    2. start a new project
    3 select win 32 in the templates which are located on the right side of the dialog box
    4. type a name for your program and press ok
    5 in the next box that appears select aplication settings
    6. under application type select console application
    7 select empty project
    8. click finish

    this should create your project on the right you should see the solution explorer

    9. At the top menu of the program press the project button and then scroll down to add new item

    on the right you should see templates inside them choose cpp file

    10. click on cpp file

    11. type the name of the project and add .cpp to the end of it this is so visual c++ will know it is a c++ file

    click ok

    12. in the blank window type or paste the following source code

    #include <iostream>

    using namespace std;

    int main()

    {
    cout << "hello world"<< endl;
    cin.ignore();
    return 0;
    )


    if this code does not work email me immediatly and please email me anyway to let me know if this was helpful

    my email is [email protected]

  4. #4
    Join Date
    Jan 2005
    Posts
    1

    Re: Hello World

    just make sure if you're gonna copy&paste it you change that last bracket to a curly one.

    cheers,
    neurotik

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured