Pages

Tuesday, 25 February 2020

Chapter 11 // Exercise 2 - Principles & Practice Using C++

In this exercise I am using Visual Studio Community 2017 and the header file "std_lib_facilities.h" which can be found here:

http://www.stroustrup.com/Programming/PPP2code/std_lib_facilities.h

Chapter 11 // Exercise 2

Write a program that given a file name and a word outputs each line that contains that word together with the line number. Hint: getline().


.

No comments:

Post a Comment