Em Andamento

c++ program using visual studio 2010

This assignment covers files, and strings. Enough flexibility is provided for you to apply your knowledge of basic C++ programing to develop your solution.

Develop a functional flowchart and then write a C++ program to solve the following problem.

1. Create a text file named [url removed, login to view] and write your first name in the file. You will be reading the name of the file from the keyboard as a string, using the string class. Your program will also read your first name from the keyboard.

2. Create a text file named [url removed, login to view] and write your last name in the file. You will be reading the name of the file from the keyboard as a string, using the string class. Your program will also read your last name from the keyboard.

3. Create a text file named [url removed, login to view] and write your first name from the file [url removed, login to view], and your last name from the file last.txt. You will be reading the name of the file from the keyboard as a string, using the string class.

4. At this time, each file will have one line of text in it.

5. Prepare the files for reading.

6. Display the results of the three files in the order shown below (example shows my name):

[url removed, login to view]​​ john

[url removed, login to view]​​ doe

[url removed, login to view]​ john doe

Note that there is a single space between the first name and the last name when you display the contents of the file name.txt.

7. Close all files.

8. Run the program again and use your choice of the filenames, first name, and the last name, different than what you used above and repeat the process.

The programs in the book show you how to read file names as strings and how to convert the strings to the C string.

Grading:

​​System Flowchart​​10 points​​

​​Documentation​​​10 points – problem statement, other documentation

Habilidades: Programação C++

Ver mais: what is visual programming, what is visual basic programming, what is the problem statement, what is problem statement, what is a string in programming, what is a problem statement example, what is a problem statement, what is a class in programming, visual studio programming, the string problem, strings in c programming, string cplusplus, statement problem example, statement of the problem example, solve the assignment problem, solve assignment problem, solution to assignment problem, solution of assignment problem, programs for programing, program problem statement, programming what is a class, programming visual studio, programming statement, programming program, programming in visual basic 2010

Acerca do Empregador:
( 2 comentários ) Houston, United States

ID do Projeto: #6774469

Premiar a:

nauman187

hi, i can help. please reply . thanks .

$25 USD em 1 dia
(24 Avaliações)
3.9