C++ Error Message I am getting the following error message whenI try to run the debugger.
‘LibraryMain.exe’ (Win32): Loaded ‘C:Program Files(x86)AVGAntivirusaswhookx.dll’. Cannot find or open the PDBfile.
‘LibraryMain.exe’ (Win32): Loaded’C:WindowsSysWOW64msvcp140d.dll’. Symbols loaded.
‘LibraryMain.exe’ (Win32): Loaded’C:WindowsSysWOW64vcruntime140d.dll’. Symbols loaded.
‘LibraryMain.exe’ (Win32): Loaded’C:WindowsSysWOW64ucrtbased.dll’. Symbols loaded.
Exception thrown at 0x0F7C50D9 (vcruntime140d.dll) inLibraryMain.exe: 0xC0000005: Access violation writing location0x151590E7.
Here is my books.txt file.
Starting Out with C++
Gaddis, Tony
Pearson
978-0-13-257625-3
129.98
2014
25
The World is Flat
Friedman, Thomas
Farrar, Straus and Giroux
0-374-29279-5
30.00
2006
12
Good to Great
Collins, Jim
Collins Business
978-0-06-662099-2
29.99
2001
10
You Cant Make this Stuff Up
Caputo, Theresa
Atrai Books
978-1-4767-6443-6
25.00
2014
8
Winners
Steel, Danielle
Dell
978-0-440-24525-4
7.99
2013
6
The Success Principles
Canfield, Jack
Harper Collins
0-06-059488-8
24.95
2005
4
Here is the BookClass.h code.
#include <iostream>
#include <iomanip>
#include <string>
using namespace std;
class BookClass
{
string title;
string author;
string publisher;
string isbn;
double price;
int year;
int numInStock;
public:
void IncreaseDecreaseCopies(int flag);
int getCopiesLeft();
void displayBookInfo();
string
PayPal Gateway not configured
PayPal Gateway not configured