Purchase Solution

C++ program to swap the First_Name and Last_Name columns

Not what you're looking for?

Ask Custom Question

Attached docx file gives the content of a text database file "database.txt" that contains five columns: DSI#, Person_Number, Last_Name, First_Name and State.

Write a C++ program that reads the data from "database.txt", swaps the First_Name and Last_Name columns and outputs the data to another text file called "Students2.txt".

Attachments
Purchase this Solution

Solution Summary

After compiling the source file, the resulting program should be run as "executable_name database.txt Students2.txt".

Purchase this Solution


Free BrainMass Quizzes
Javscript Basics

Quiz on basics of javascript programming language.

Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.

C# variables and classes

This quiz contains questions about C# classes and variables.

Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.