This statement will not open the file, therefore none of my code will work. What have I done wrong here? I'm starting to go cross-eyed looking at it and I'm sure it's something simple. Thanks in advance!
1 2
filebuf fbInventory; //Stream buffer to read from and write to files.
fbInventory.open("C:\\Users\\Beverly\\OneDrive\\School\\CISS 350\\Week1_GroceryStore\\Week1_GroceryStore\\invent.dat", ios::in); //Open inventory file