Question:

Microsoft visual basic help...!Best Answer!

by  |  earlier

0 LIKES UnLike

I run a simple program (#include <iostream>

using namespace std;

int main ()

{ cout << "Hello World!";

return 0;})

However when I clicked debug/build it said error and The system cannot find the file specified.

I'm running Vista and on Visual C 2008 Express Edition. first correct solution I'll give best answer

 Tags:

   Report

5 ANSWERS


  1. sorry wish i could help  


  2. your missing the endl:

    #include &lt;iostream&gt;

    using namespace std ;



    int main()

    {

      cout &lt;&lt; &quot;hello, world&quot; &lt;&lt; endl;

      return 0;

    }

    im not sure how to pause it tho, if that is needed


  3. Hi, it is not visual basic, it is visual C++. Which file is it not able to find? the code file? or any reference dll file? Please verify and refer to msdn web site.

  4. i think what is happening is that the program is opening and closing so fast that you think it dident even start. so this is what i would do

    #include&lt;iostream&gt;

    using namespace std;

    int main()

    {

    cout &lt;&lt; &quot;Hello World&quot;;

    system(&quot;pause&quot;);

    return(0);

    }


  5. Danny i think you should try doing something else

    Good luck

Question Stats

Latest activity: earlier.
This question has 5 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.