Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C++ help please? Thank you for any help on any of these questions. Samediff bank would like to use your data structures. They would like

C++ help please? Thank you for any help on any of these questions.

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.

1. What are advantages using a binary file?

2. What are advantages using a text file?

3. If there is a very large amount of data, what file should you use, text file or binary file?

4. If you are to use a binary file, what should be a data type for a customers name?

5. 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. 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. If you want to group related variables needed as a record for a bank checking account as a record, develop that data structure.

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Inductive Databases And Constraint Based Data Mining

Authors: Saso Dzeroski ,Bart Goethals ,Pance Panov

2010th Edition

1489982175, 978-1489982179

More Books

Students also viewed these Databases questions

Question

When there was controversy, was it clear who had the final say?

Answered: 1 week ago