0% found this document useful (0 votes)
3 views

Lab 5

This lab focuses on practicing file input/output streams by creating an input file named 'babynames.txt'. Participants are required to complete a provided code to check if a user-input name exists in the list of baby names. Submission includes source code files, the input text file, and a screenshot of the program's output on Moodle.

Uploaded by

singh.angad0905
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

Lab 5

This lab focuses on practicing file input/output streams by creating an input file named 'babynames.txt'. Participants are required to complete a provided code to check if a user-input name exists in the list of baby names. Submission includes source code files, the input text file, and a screenshot of the program's output on Moodle.

Uploaded by

singh.angad0905
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Lab 5

Objective: Practice File I/O Stream

In this lab, you are going to practice I/O streams. You should create an input file called “babynames.txt”, which
looks like this:

Finish the following code and run the program, type a name to see whether the name is in the list of baby
names
Submission:

You need to upload: the source code (.cpp files), input text file and the Screen shot of your program
output on Moodle.

You might also like