Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9053127
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T13:21:01+00:00 2026-06-16T13:21:01+00:00

I have the following first code in Visual C++: #include <iostream> using namespace std;

  • 0

I have the following first code in Visual C++:

#include <iostream>
using namespace std;

int main()
{
    cout<<"Hello World" << endl;
    system("PAUS");
    return (0);
}

I created a Win32 console application project. I deleted the available header files and my project area looks like:
![enter image description here][1]

When I right click my cpp file and click compile, I get the folowing:

========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

But, when I click Build, the cmd black screen appears so fast then disappears and I get the following errors:

'test2.exe': Loaded 'C:\Users\user\Documents\Visual Studio 2008\Projects\test2\Debug\test2.exe', Symbols loaded.
'test2.exe': Loaded 'C:\Windows\System32\ntdll.dll'
'test2.exe': Loaded 'C:\Windows\System32\kernel32.dll'
'test2.exe': Loaded 'C:\Windows\System32\KernelBase.dll'
'test2.exe': Loaded 'C:\Windows\winsxs\x86_microsoft.vc90.debugcrt_1fc8b3b9a1e18e3b_9.0.21022.8_none_96748342450f6aa2\msvcr90d.dll'
The program '[6056] test2.exe: Native' has exited with code 0 (0x0).

Can you help me ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T13:21:02+00:00Added an answer on June 16, 2026 at 1:21 pm

    its system("PAUSE"); not system("PAUS"); Other than that, I see no reason why your program shouldn’t compile on a correctly setup development environment.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following code sequential search run perfectly in Visual C++ #include<iostream> using
I'm using the Code First approach and have the following Model: public class Person
The following is using EF 5.0.0-rc and Code First. In my design, I have
I have the following thread code which executes correct first time. After that from
I have the following code: Public Shared Function GetAvailableManufacturers() As List(Of Manufacturer) 'first get
I have the following C# code below. Object first = 5; Object second =
First up, sorry for the mega-posting of code but... I have the following DB
I have following code with error: (Visual Studio error:)Error 5 error C2678: binary '!='
Say I have following code: object ForComprehension { def generateSomeSeq(n: Int): List[Int] = (1
I'm using Visual Studio 2012 for an MVC web app using code first method

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.