Question: C++ Samediff bank would like to use your data structures. They would like you to be able to save a list of accounts and load
C++



Samediff bank would like to use your data structures. They would like you to be able to save a list of accounts and load a list of accounts. Implement saving and loading of multiple occurrences of your data structures. Phase 2 Requirements: Answers to the discussion questions, using Phase 2 Grading Rubric to optimize your grade. Use the following questions to help guide your team to accomplish tasks required in Phase 2: 1. (2 points possible) What are advantages using a binary file? 2. (2 points possible) What are advantages using a text file? 3. (2 points possible) If there is a very large amount of data, what file should you use, text file or binary file? 4. (2 points possible) If you are to use a binary file, what should be a data type for a customer's name? 5. (2 points possible) If you use a string object and want to convert it to a c- string, what is a function used to accomplish the task? Provide a short code sample. 6. (2 points possible) If you have multiple objects consider that a customer may have multiple accounts. Can you write objects to a file? Provide a reference section in Chapter 13. 7. (2 points possible) If you want to group related variables needed as a record for a bank checking account as a record, develop that data structure. 8. (2 points) What input validation should you implement when reading information from a file from disk? Provide a code sample with an error message(s) Samediff bank would like to use your data structures. They would like you to be able to save a list of accounts and load a list of accounts. Implement saving and loading of multiple occurrences of your data structures. Phase 2 Requirements: Answers to the discussion questions, using Phase 2 Grading Rubric to optimize your grade. Use the following questions to help guide your team to accomplish tasks required in Phase 2: 1. (2 points possible) What are advantages using a binary file? 2. (2 points possible) What are advantages using a text file? 3. (2 points possible) If there is a very large amount of data, what file should you use, text file or binary file? 4. (2 points possible) If you are to use a binary file, what should be a data type for a customer's name? 5. (2 points possible) If you use a string object and want to convert it to a c- string, what is a function used to accomplish the task? Provide a short code sample. 6. (2 points possible) If you have multiple objects consider that a customer may have multiple accounts. Can you write objects to a file? Provide a reference section in Chapter 13. 7. (2 points possible) If you want to group related variables needed as a record for a bank checking account as a record, develop that data structure. 8. (2 points) What input validation should you implement when reading information from a file from disk? Provide a code sample with an error message(s)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
