You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make sure that the input file, input.csv, is in the same directory as main.cpp
This should contain the data you want to search
The column names will automatically be moved to the output
Compile the code using a C++ compiler, such as g++:
g++ main.cpp -o main
Run ./main from the terminal after building
Add your query, or multiple queries,when prompted in the terminal to search
Type "!done" when you are done adding searches
The program will read the input file, input.csv, and create a new output file, output.csv, in the same directory. The output file will contain the same data as the input file, but only the lines that contain the string will be written to the output file.
Change the color of your terminal output by setting colorMode to true. (This only applies if your terminal allows ANSI Color Codes)
About
A C++ program that takes user input and parses a local CSV file adding any lines where that search query is found.