Include the iostream, fstream, string, and cctype libraries

Assignment Help C/C++ Programming
Reference no: EM13161287

1. Include the iostream, fstream, string, and cctype libraries in your program.
2. Start main()
Declare three function prototypes:
a. A void function to input the names in "names.dat" file and save them in an array.
b. A void function which uses a "selection sort" to sort the names in the array.
c. A void function to output the names after sorting.
3. Call a function (Step 2 a above) to get the names from the file "names.dat" into the array
4. Call a function to sort the strings (Step 2 b above).
5. Call a function (Step 2 c above) to display the sorted names.
6. End man()
7. Write the source code for the function to get the names in the file and save them in an array
(Step 2 a above).
8. Write the source code to use a "selection sort" to sort the names in the array (Step 2 b above).
9. Write the source code to output the names after sorting ( 

Reference no: EM13161287

Questions Cloud

Compare the effects of racial ideologies : Compare the effects of racial ideologies on North American societies with those on Latin American/Caribbean societies during the period from 1500 to 1830
Include the terms iterative and recursive query : Describe the process a client would perform to resolve the name yahoo.com. Assume that the full DNS names resolution process must be performed. Include the terms iterative and recursive query
Relationship unethical : Under what circumstances is the use of power in a relationship unethical? Explain your answer.  Please respond with at least 150 words.
An isp has received a block : An ISP has received a block of addresses in which the prefix length (n = 24). The ISP needs to make 8 sub-nets (sub-blocks) of equal sizes from this block. What is the prefix of each sub-block?
Include the iostream, fstream, string, and cctype libraries : 1. Include the iostream, fstream, string, and cctype libraries in your program.
Building plans-what is shater : Know the building plans, the names of the two building plans, the domes and roofs of the early structures and why they were used in the cathedrals of Europe and of Byzantine Russia especially churches in Moscow.
Writing a program that parses : The programming project involves writing a program that parses, using recursive descent, a GUI definition language defined in an input file and generates the GUI that it defines.
Diagnosis of terminal cancer : My boyfriend of one year has been given a diagnosis of terminal cancer. He has no family around, and I have been his primary caretaker. We had a wonderful relationship, but we had not discussed long-term plans, and his declining health has changed mu..
Which disease is epidemic or endemic : Which disease is epidemic or endemic.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Insert the missing code in the c program

You are to insert the missing code in the C program given for combinational equivalence checking. This program will interface with the CUDD package and will parse netlist files in ISCAS85 circuit format. Next, BDDs will be created for each circuit an..

  Program to translates letter grade into number grade

In C++ (should be able to compile in Visual Studio 2010): Write a program to translates letter grade into number grade. Letter grades are A,B,C,D and F, possibly followed by a + or -.

  Prepare an arbitrary sinusoidal waveform

Create a program to compute the derivative of an arbitrary input function, with arbitrary duration and arbitrary limits

  Write program to calculate net pay for factory worker

Write and run a program in C++ that calculates the net pay for a factory worker. The program prompts the user for skill level and hours worked, as well as appropriate insurance and retirement options for the employee's skill.

  Prepare a linear support vector machine svm

Write a computer program to prepare a Linear Support Vector Machine SVM

  Write program which reads n numbers from keyboard

Write down C++ program which reads N numbers (positive, negative, integer and double numbers) from keyboard, computes and shows the following information. Largest number of all numbers entered from keyboard.

  Computer programming using c language lab

Computer programming using c language lab

  Write a program to make the ssds function

Write a program to make the SSDs function as a MM:SS real-time clock. Hint: You must not use a single delay routine for the one second delay because that will not allow for persistence of vision. The displays need to be constantly refreshed during ev..

  Program to produce ten random permutations of numbers

In C++(must be able to compile in Visual Studio ): Write a program to produce ten random permutations of numbers 1 to 10.

  Basics of code development on linux and cryptography

Prepare a C program that gives simple mono-alphabetic substitution between plaintext, and Enhance your code to use "-e" to encrypt a string argument and "-d" to decrypt it using argv and argc

  Implement a graphics system that has classes

Implement a graphics System that has classes for various figures: rectangles, squares, triangles and circles. A rectangle has data members height, width, color , and center point. A square has center point and an edge and color

  Iterative programming problem solving approaches

Write a recursive function void reverse ( ) that reverse a sentence

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd