Cannot find or open the PDB file?

After I try to run this code it gives me these lines on the output and I don't know what I should do to fix it. I made sure there was a .txt file so the program can read off from it, but it keeps giving me the following lines.

'HW6.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Cannot find or open the PDB file.
'HW6.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Cannot find or open the PDB file.
'HW6.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Cannot find or open the PDB file.
'HW6.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcp120d.dll'. Cannot find or open the PDB file.
'HW6.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcr120d.dll'. Cannot find or open the PDB file.
The program '[18836] HW6.exe' has exited with code 0 (0x0).

This is what's inside the .txt file.

Sue 67 54 78
Bob 76 89 90
Sarah 76 84 91
Cane 77 84 95

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
  //Salvador Lopez Jr.

#include <iostream>
#include <fstream>
#include <string>

using namespace std;

int main()
{
	ifstream inFile;
	ofstream outFile;

	string name;
	int num;
	int	highest;

	inFile.open("input.txt");

	inFile >> name;
	inFile >> highest;
	inFile >> num;

		for (int i = 0; i < 3; i++)
		{
			if (num > highest)
				highest = num;

			else
				inFile >> num;
		}

	outFile.open("output.txt");
	outFile << name << highest << endl;
	outFile.close();

	inFile.close();
	
	cout << name << " " << highest << endl;

}
Last edited on
The problem I'm having is that the output window will not show, it appears for like a brief second and then just closes without showing the cout statement: cout << name << " " << highest << endl;
You need to tell your IDE to leave window open after exeution:
http://stackoverflow.com/a/1152873
Last edited on
Topic archived. No new replies allowed.