Add checks in the code where a file is going to be open.
E.g. Before even asking for the information to create a transaction, check if it is possible to open the file, otherwise, it doesn't make sense to ask for the information and then throw an error.
Add checks in the code where a file is going to be open.
E.g. Before even asking for the information to create a transaction, check if it is possible to open the file, otherwise, it doesn't make sense to ask for the information and then throw an error.
https://github.com/jesusriles/Financial/blob/3fd7755a63ec285b500d3de6839cfaf2a578822d/Financial/Transactions.cpp#L39