DIY: Count a Word in the Comments
Explore how to detect comments within C++ source code and count occurrences of a target word in those comments. This lesson helps you develop skills useful for compiler feature optimization and coding interview problems involving text parsing in code.
We'll cover the following...
We'll cover the following...
Problem statement
In this challenge, you are given two arguments: a list of strings containing lines of a C++ source code and a string ...