Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

USING PUTTY IN UNIX ENVIRNOMENT ON EMACS. ALSO USING TCLAP. Not sure what I need to provide more information for here. The program should ideally

USING PUTTY IN UNIX ENVIRNOMENT ON EMACS. ALSO USING TCLAP. Not sure what I need to provide more information for here. The program should ideally be completed in any program in a unix envirnoment with no gui, so something like putty. You would then use Emacs or VI, and make a C++ program as described right below here. Then you will use TCLAP to set some compiler directives and also to tell the compiler where to look for the header files, and it would be put inside an include file in the directory, so like ~/HW2/include/tclap/cmdline.h

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

You are to create a C++ program that opens an input file, reads and process the data in that file, and then writes the (possibly modified) data to a new output file. Your program should: .Accept arguments that are presented on the command line (see Usage box below). . Use the Templatized C++ Command Line Parser for argument processing (See the "Templatized C++ Command Line Parser" below). Illegal or missing options should be handled properly enumerated list (enum) and should hold strings for values. line arguments. . Store the parsing results into a C++ STL map. The map file must be indexed by a C++ . Within your code, you must query your map to get the values of the parsed command Finally, your program must present the correct behavior. The behavior is USAGE: /program2 [-l] [-u] [-o ] [--] [--version] [-h] Where: 1. -lower Convert all text to lowercase You are to create a C++ program that opens an input file, reads and process the data in that file, and then writes the (possibly modified) data to a new output file. Your program should: .Accept arguments that are presented on the command line (see Usage box below). . Use the Templatized C++ Command Line Parser for argument processing (See the "Templatized C++ Command Line Parser" below). Illegal or missing options should be handled properly enumerated list (enum) and should hold strings for values. line arguments. . Store the parsing results into a C++ STL map. The map file must be indexed by a C++ . Within your code, you must query your map to get the values of the parsed command Finally, your program must present the correct behavior. The behavior is USAGE: /program2 [-l] [-u] [-o ] [--] [--version] [-h] Where: 1. -lower Convert all text to lowercase

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions