Question
C++ 14.11 (Hardware Inventory) You are the owner of a hardware store and need to keep an inventory that can tell you what different tools
C++14.11 (Hardware Inventory) You are the owner of a hardware store and need to keep an inventory that can tell you what different tools you have, how many of each you have on hand and the cost of each one. Write a program that initializes the random-access file hardware.dat to 100 empty records, lets you input the data concerning each tool, enables you to list all your tools, lets you delete a record for a tool that you no longer have and lets you update any information in the file. The tool identification number should be the record number. Use the following information to start your file:
I found the solution below and compiled with " g++ -Wall Tool.h Tool.cpp main.cpp " at command prompt.
You guys can easily find the solution in this site.
It saids that "File could not be opened".
I want to know what was the problem.
Thanks.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started