Problem: given a C string, and its substring as an offset and length, print the string and underline the given substring.
Turns out to be not so easy. So far, this only underlines a piece of a first line that contains a part of a substring.
Problem: given a C string, and its substring as an offset and length, print the string and underline the given substring.
Turns out to be not so easy. So far, this only underlines a piece of a first line that contains a part of a substring.