I am using visual studio 2013. I am just a Beginner. Trying to make a shutdown Program in c++.
its give the errors.
'Shutdown.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Cannot find or open the PDB file.
'Shutdown.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Cannot find or open the PDB file.
'Shutdown.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Cannot find or open the PDB file.
'Shutdown.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcp120d.dll'. Cannot find or open the PDB file.
'Shutdown.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcr120d.dll'. Cannot find or open the PDB file.
Application "\??\C:\Windows\system32\cmd.exe" found in cache
Application "\??\C:\Windows\system32\cmd.exe" found in cache
The program '[7592] Shutdown.exe' has exited with code 0 (0x0).

here is the code....

# include <stdio.h>
# include <stdlib.h>
# include "iostream"
using namespace std;
int main()
{
    char ch;
    cout<<"Do you want to shutdown your computer now(y / n) \n " ;
        cin>>ch;
        if (ch == 'y' || ch == 'Y')
            system("C: \\ Windows\\System32 \\shutdown.exe");
        else
            cout << "Not Working";
        system("pause");
        return 0;
}

None of those look like errors:

Cannot find or open the PDB file.
No debugging file for this. Normal.

Application "\??\C:\Windows\system32\cmd.exe" found in cache
You're trying to run cmd.exe through system, so that doesn't seem too surprising.

The program '[7592] Shutdown.exe' has exited with code 0 (0x0).
Code 0 usually indicate a normal exit.

What happens if you type C: \\ Windows\\System32 \\shutdown.exe at the command line? You can avoid having to escape the slashes by using the other slash, like this:
C: / Windows/System32 /shutdown.exe

and taking out all those spaces might be a good idea:
C:/Windows/System32/shutdown.exe

This question has already been answered. Start a new discussion instead.