Visual Studio 2017 -C++ programing

I am trying to compile in VS 2017 but the cmd goes away to fast to see the results and I get this output errors.
--------------------------------------------------------------------------

'ProjectStudent.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Cannot find or open the PDB file.
'ProjectStudent.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Cannot find or open the PDB file.
'ProjectStudent.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Cannot find or open the PDB file.
'ProjectStudent.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcp140d.dll'. Cannot find or open the PDB file.
'ProjectStudent.exe' (Win32): Loaded 'C:\Windows\SysWOW64\vcruntime140d.dll'. Cannot find or open the PDB file.
'ProjectStudent.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ucrtbased.dll'. Cannot find or open the PDB file.
'ProjectStudent.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel.appcore.dll'. Cannot find or open the PDB file.
'ProjectStudent.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcrt.dll'. Cannot find or open the PDB file.
'ProjectStudent.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rpcrt4.dll'. Cannot find or open the PDB file.
'ProjectStudent.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sspicli.dll'. Cannot find or open the PDB file.
'ProjectStudent.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cryptbase.dll'. Cannot find or open the PDB file.
'ProjectStudent.exe' (Win32): Loaded 'C:\Windows\SysWOW64\bcryptprimitives.dll'. Cannot find or open the PDB file.
'ProjectStudent.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sechost.dll'. Cannot find or open the PDB file.
The thread 0x6778 has exited with code 0 (0x0).
The thread 0x5a3c has exited with code 0 (0x0).
The program '[26864] ProjectStudent.exe' has exited with code 0 (0x0).


Anyone has any idea ?
http://www.cplusplus.com/forum/beginner/1988/

There is IIRC a project setting in VS which keeps the console open for you when the program exits.

You can safely ignore all those "Cannot find or open the PDB file" messages.

Your program was successful at
The program '[26864] ProjectStudent.exe' has exited with code 0 (0x0).

thank you.

I was able to fix the Output window disappearing as well.

there you go in case anyone else needs it.

Go to "View" then select "Property Manager"
Right click on the project/solution and select "Property".
Navigate to the linker then select "System"
Click on "SubSystem" and a drop down appears
Choose "Console (/SUBSYSTEM:CONSOLE)"
Apply and save
Run the program with "CTRL +F5", you should see the output.
You can also add at the end of your code:
system("pause");

whit this your program will stop there once it finishes
Topic archived. No new replies allowed.