Dibatalkan

Hire a C++ Programmer 1

write a program that reads the text from files and determines information about the longest word and longest line in each [url removed, login to view] the purpose of this assignment, a “line” is defined to be all characters up to a newline; in

other words, what is fetched by the getline() function. A “word” is defined to be a sequence of

one or more non-white space characters. Words are separated by white space (space, tab, newline, etc).

The input to the assignment is provided as command line arguments. Command line arguments

consist of optional “flag” arguments (a “flag” is an argument whose first character is a dash),

followed by one or more file names. If file names are provided, the program should perform its

operations on each file. If no file names are provided, the program should print the error

message NO FILES and should terminate.

The default processing for each file is to read through the entire file, find the longest word and

the longest line in the file, and generate output.

The program recognizes certain optional flag arguments that change the behavior of the

program. Your program must recognize the arguments if they are provided and change the

behavior of the program.

The flag arguments can appear in any order. There can be more than one of them specified. If

duplicates of the same argument are specified, it’s ok to ignore the duplicate. The flags are:

■ -m when printing the longest word in the file, print only the longest words that appear the

most often

■ -c in addition to printing the longest words and the length of the longest line, include, in

parenthesis, a count of the number of times that the word/line appears

■ -b consider multiple blanks between words on a line as a single blank for the purpose of

calculating the length of a line

If a flag is provided that the program does not recognize, the program should print a line with the

unrecognized flag followed by the string UNRECOGNIZED FLAG. The program should exit after

printing this line.

If a filename provided on the command line cannot be opened, the program should print a line

with the filename followed by the string FILE NOT FOUND. The program should continue with

the next file after printing this line.

The format of the output for each file consists of a maximum of three lines

■ A line with the filename followed by a colon

■ A line with a sorted list of the words that are the longest words in the file, comma

separated

■ A line containing a number which is the length of the longest line in the file

If there are no words in the file, then the second line in the output (with the words) is skipped.

Part1 (8 points):
■ Compiles
■ Nofiles (i.e. runs the program with no file names)
■ Badfiles (i.e. runs the program with no valid file names specified)
■ Invalidflag (i.e. runs the program with an invalid flag name)
■ Onefile (i.e. runs the program with a single input file)
■ Manyfile (i.e. runs the program with many files)
■ Onecount (Onefile case with -c arg added)
■ Manycount (Manyfile case with the -c arg added)
Part2 (16 points): all of Part1, plus:
■ Onemax (Onefile case with the -m flag)
■ Manymax (Manyfile with the -m flag)
■ OneMC (onefile with -m and -c)
■ ManyMC (manyfile with -m and -c)
■ Oneblank (onefile with -b)
■ Manyblank (manyfile with -b)
■ Oneall (onefile, all flags)
■ Manyall (manyfile, all flags

Keahlian Pemrograman C++

Lihat lebih lanjut: online c++ projects, freelance c++ programming jobs, c++ work from home, c++ programming jobs entry level, c++ programming jobs salary, part time c++ programming jobs, c++ programmer software free download, c++ programming jobs from home, hire c++ programmer in van nuys no need exp, hire c++ programmer in van nuys, hire c programmer free lance, hire a programmer to write software, hire a programmer to write code, leicester hire c++ programmer, leicester hire c programmer

Tentang Pemberi kerja:
( 1 ulasan ) Bayonne, United States

ID Proyek: #15203034

Diberikan kepada:

harshdaga

Hi, I've got quite some experience with C++ and I'm sure I can help you out with your project. May I get more details over the chat? Relevant Skills and Experience C, C++ Proposed Milestones $30 USD - Completion

$30 USD dalam 1 hari
(57 Ulasan)
5.0

26 freelancer menawar dengan rata-rata $34 untuk pekerjaan ini

it2051229

Hello, I have read the above mentioned requirements and this is definitely something I can confidently do. I do academic jobs in Computer Science. Let me know if you are interested. Thanks. Relevant Skills and Experie Lagi

$30 USD dalam 1 hari
(546 Ulasan)
7.0
utkarshkatiyar19

hi, I can do it easily.

$40 USD dalam 1 hari
(227 Ulasan)
6.8
dobreiiita

Hello I am C++ expert and interested in this project. I have reviewed the details and confident to handle the project perfectly. I will keep codes well documented. Please communicate to discuss further. Regards Ans Lagi

$30 USD dalam 1 hari
(172 Ulasan)
6.4
dyuldashev

I read your project about determining longest words and lines description thoroughly. I can deliver it within 2 days. It requires a lot of args process. and is quite long, that's why I set it to 60 $. Relevant Skills Lagi

$61 USD dalam 2 hari
(37 Ulasan)
5.3
usamamw141

Hey, I have read the instructions and I can do this task. Feel free to inbox me now. Relevant Skills and Experience I am doing C/C++ task from about 4 years. Proposed Milestones $20 USD - milestone

$20 USD dalam 1 hari
(56 Ulasan)
5.0
isparrowsolution

Hello hiring manager I read your details and I understand is that you wish write program for reads the text from files and determines information about the longest word and longest line in each file. Relevant Skills Lagi

$30 USD dalam 3 hari
(6 Ulasan)
4.3
JDMalik

As a Software Engineer, I believe that I can do this task in a pure professional manner and can satisfy all of your requirements as I have already done this kind of projects in the past. Relevant Skills and Experience Lagi

$25 USD dalam 2 hari
(21 Ulasan)
4.4
sujanttt

Hello sir, I am interested in your project. I have been working for 3 years on this site and would like to work for you. I will provide the program according to the description. Relevant Skills and Experience C++/C P Lagi

$25 USD dalam 1 hari
(25 Ulasan)
4.2
mehfuza

A proposal has not yet been provided

$30 USD dalam 1 hari
(16 Ulasan)
4.2
idleswell

I will create a C++ program with the specifications requested. Relevant Skills and Experience I have 25 years experience programming in C++. Proposed Milestones $128 USD - C++ Programming

$128 USD dalam 3 hari
(2 Ulasan)
3.7
jboo7

A proposal has not yet been provided

$30 USD dalam 1 hari
(15 Ulasan)
3.8
$35 USD dalam 1 hari
(9 Ulasan)
3.2
ZoranVu

Thanks for detailed explanation of the task. Everything is clear, I will do this properly, with readable C++ code, using standard library only. Please contact me for details. Regards, Zoran

$35 USD dalam 1 hari
(1 Ulasan)
2.6
$25 USD dalam 1 hari
(2 Ulasan)
1.3
imathcoder

A proposal has not yet been provided

$30 USD dalam 6 hari
(0 Ulasan)
0.0
ninjanderit

Hi. I have read your description carefully. I can satisfy your requirement at the highest level, in a short time I attach importance to credit rather than money. I think i can cooperate with you well. Relevant Skills Lagi

$25 USD dalam 1 hari
(0 Ulasan)
0.0
$25 USD dalam 1 hari
(0 Ulasan)
0.0
sklightyear

It's simple project can be done in less than a day. Relevant Skills and Experience C++ programming Proposed Milestones $25 USD - complete program & comments No question you have mentioned everything.

$25 USD dalam 1 hari
(0 Ulasan)
0.0
creativesols3

Hi, i am a full stack mobile & web dev having similar technical skills & experience & have already worked on a similar project before so can do this Ref : [url removed, login to view] Stay tuned, I'm Lagi

$31 USD dalam 1 hari
(0 Ulasan)
0.0
Nerdulent

hi..I have placed my price according to the scope of Problem statement. by when do you need it completed??

$40 USD dalam 2 hari
(0 Ulasan)
0.0