Skip to content

This program can find occurrences of a pattern when a text file is given. Some other features like word count and splice are also included

Notifications You must be signed in to change notification settings

senithkay/DSA3-assignment1-stringMatcher

Repository files navigation

1. This program is written in C++. Use a C++ complier and run the file.
   For windows, use string_matcher_windows.cpp
   For linux, use string_matcher_linux.cpp

2. Select an option from the menu
    1. to use the string macher. There is an option to filter results. 
        no filter - prints complete lines.
        module code - prints only the module codes.
        module name - prints only the module names.

    2. to display a line when the user provided the line number

    3. Slice the file and create another file with the lines after the sliced point

    4. Split a line into words and print those words. words are comma separated.

5. To exit, press 5 and hit enter.

About

This program can find occurrences of a pattern when a text file is given. Some other features like word count and splice are also included

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages