Closed

Duplicate the functionality of the UNIX program word count

For this assignment you are to duplicate the functionality of the UNIX program “wc?? or word count. Your program should read in characters from stdin until a ‘^’ is entered or until the maximum number of characters is reached (determined by the amount of memory available to your string). The entered characters should be stored in a string. After this you should repeat what was entered by printing out the string. Then you should print out the totals for the number of lines, words and characters. A word is a group of consecutive non-white space characters. For this assignment we will consider the following characters as white space: ‘ ‘ (space), ‘\t’ (tab), ‘\r’ (carriage return), ‘\n’ (line feed). Remember to count all characters, even white space characters. Example outputs are given below. Given the same input as the examples your program should have the same totals. A template of the program is given to you in a separate file (hw8.c). You must use this code. You cannot make any changes to the main function. You are to fill in the two functions without changing the input or output types. You can add more functions if you wish. Note: SIZE is defined as 200, do not change this. Remember not to allow the user to enter too many characters. You must not go out of the bounds of the string. If the limit is reached, the program should not complain or quit; instead it should fill in the values entered up to the limit and continue as if the user entered a ‘^’. (Hint: Remember the values are stored in a STRING) I have uploaded the actual .doc file given.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

Window XP -- Visual Basic C/C++

Evner: C programmering, Ingeniørarbejde, MySQL, PHP, Software Arkitektur, Software Testning

Se mere: what was the, what is visual basic programming, what is r programming, what is a string in programming, user functionality, unix programming environment, types of programming, to the maximum, the unix programming environment, the one group, string the, r programming examples, programming on the web, out source printing, functional programming in r, c programming string functions, continue line in c, carriage for hire, what is a word template, fill in form word

Om arbejdsgiveren:
( 0 bedømmelser ) United States

Projekt ID: #3390190

12 freelancere byder i gennemsnit $26 på dette job

kenzovw

See private message.

$25.5 USD på 1 dag
(96 bedømmelser)
5.9
vidmavw

See private message.

$59.5 USD på 1 dag
(38 bedømmelser)
5.6
imateivw

See private message.

$29.75 USD på 1 dag
(122 bedømmelser)
5.6
securitycoder

See private message.

$25.5 USD på 1 dag
(84 bedømmelser)
5.6
Aurochs

See private message.

$15.3 USD på 1 dag
(57 bedømmelser)
5.0
vw852052vw

See private message.

$42.5 USD på 1 dag
(11 bedømmelser)
3.4
Resu

See private message.

$6.8 USD på 1 dag
(12 bedømmelser)
3.2
thecoder4uvw

See private message.

$21.25 USD på 1 dag
(19 bedømmelser)
3.2
balanagireddyvw

See private message.

$42.5 USD på 1 dag
(12 bedømmelser)
3.1
dk

See private message.

$12.75 USD på 1 dag
(4 bedømmelser)
1.9
softclones

See private message.

$6.8 USD på 1 dag
(6 bedømmelser)
1.1
mianfahimulhaq

See private message.

$21.25 USD på 1 dag
(0 bedømmelser)
0.0