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

Thread: Hello world prgram not runing

  1. #1
    Join Date
    Mar 2017
    Posts
    12

    Hello world prgram not runing

    I wrote this hello world program from tutorial yesterday and it was running but now it is not. I have windows 10, and using visual studio 2017. When I go to Deub tab, the start debugging option can not be highlighted, it is gray. How can I run this again?

    #include <iostream>
    using namespace std;

    int main()
    {

    cout << "Hello World" << endl;




    system("pause");
    return 0;

    }

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    19,348

    Re: Hello world prgram not runing

    Does the .exe file exist? If not - try to rebuild.
    Victor Nijegorodov

  3. #3
    Join Date
    Feb 2003
    Location
    Iasi - Romania
    Posts
    8,206

    Re: Hello world prgram not runing

    @Ketanco
    Have you created a Windows Console Project or is something else?
    Name:  new_project.jpg
Views: 9
Size:  29.7 KB
    Ovidiu
    "When in Rome, do as Romans do."
    My latest articles: http://codexpert.ro/blog/author/ovidiu-cucu/

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)