Đã Đóng

C programme with pipe and fork

a) Open a text file containing a text in lowercase letters, without punctuation marks

b) Read the file word by word and computes

i. the number of words in the file

ii. the length of each word in the file

iii. the total number of characters (spaces excluded), i.e., the sum of the word lengths

iv. the average word length

Tasks o be implemented:

c) writes the filename and the above statistics into a variable whose type is a

suitable structure

program in C comparefilesthat performs the following actions

a. Two child processes are created

i. One process prompts the users to type thefile name of a file containing a text in lowercase

letters, without punctuation marks and executes the first code already described

(you don’t need to create a separate executable)

This process will send the content of the variable with all the statistics to the parent process

through an unnamed pipe. Then,the process prompts the user again for a new filename.

If the usertypes“exit” then it should stop prompting the user, and in cascade all process should

terminate.

ii. The other process reads an unnamed pipe where the statistics of each file are written by

the parent process, and appends these data on an output file

b. The parent processreads from the pipe written by the first child process and writes

to the pipe read by the second child process

you will find attached two files to start with, you can choose the file you want.

deadline is before midenight or tomorrow if it is necessary.

Kĩ năng: Lập trình C++, Lập trình C, Kiến trúc phần mềm, Thuật toán, Linux

Xem nhiều hơn: pipe fork, stdin stdout pipe fork, create new blog america, write a c program in which a parent writes a message to a pipe and the child reads the message, interprocess communication using pipes in c, simple pipe program in c, client server program in c using pipes, ordinary pipes in os, read and write pipe in c, implementing pipe in c, c pipe multiple processes, create new c#, create new c, create new company name, create new magento mods / enhancements to the template (beanstalk / git), create new powerpoint templates, create new website, create new wep site, freelancer create new account, up loading all products from csv and all attributes into akeneo from magneto and create new products automatically by factory co

Về Bên Thuê:
( 0 nhận xét ) Cagliari, Italy

ID dự án: #22687045

16 freelancer đang chào giá trung bình €34 cho công việc này

utkarshkatiyar19

Hi, I'm an expert in C programming and using pipe and fork. I'm sure that I can easily do this project for you. We can have a chat about it. Thanks.

€100 EUR trong 2 ngày
(435 Nhận xét)
7.4
maksum1

I can do it easily just wanna to improve my profile,

€19 EUR trong 1 ngày
(46 Nhận xét)
5.2
egg

Hello I have read your project details carefully. I have many years experience in C/C++. I can help you to do it. Thanks.

€30 EUR trong 1 ngày
(27 Nhận xét)
4.2
AntonIvanov0127

Language : ----- C++, C#, Python, Qt, Matlab, Java, VB----- Skill : High and low desktop application Project reversing, Multi-threading, System management Machine learning, Deep learning Im Thêm

€19 EUR trong 7 ngày
(3 Nhận xét)
3.5
FreeXXM

Hello! I saw your project details and very interested in it. I have rich experience in developing C/C++ programs for +8 years. If you hire me, you will receive satisfied result. I can work right now and full time for y Thêm

€30 EUR trong 1 ngày
(4 Nhận xét)
3.3
jimytech

Hi, I'm Jimy. I'm an expert in C language, I have a lot of experience developing this type of algorithmic problems. I can do it for you by tomorrow morning, fully functional and with a clear and efficient code. Please Thêm

€30 EUR trong 1 ngày
(4 Nhận xét)
3.5
kalyanprakash123

please discuss, keen to do it. Negotiable price.

€60 EUR trong 3 ngày
(3 Nhận xét)
2.7
ktli931

I am a professional programmer with 15+ years experience in Linux programming. I have done many projects in area of process management using pipe. Of course, I make the code using C language. I can make the code to hel Thêm

€30 EUR trong 1 ngày
(2 Nhận xét)
2.4
akiramatsui0305

No problem! I have read your description carefully and very interested in your project. I am working on Desktop App with C/C++&C# for 7years. I think i can do it perfectly. If you hire me, you will get cool results. i Thêm

€50 EUR trong 1 ngày
(1 Nhận xét)
1.6
bsf1

Hi, I've been working as a software engineer for many years. I'm sure that I can easily do this project for you. If you hire me, you will receive satisfied results. If you make a deposit and hire it by 7pm (my time zo Thêm

€25 EUR trong 1 ngày
(2 Nhận xét)
1.2
AlexandruSommor

Hi, client. I read your project proposal carefully. I have 7+years experience in this field. My skill is as following: - C , C++, Matlab, Python - Web , Mobile design including serval frameworks - Data processing in Thêm

€19 EUR trong 1 ngày
(0 Nhận xét)
0.0
QingShanLi

Hello, I read carefully your description. I'm c/c++ programming expert. We can discuss detail opinion via chat. Thank you for your post.

€20 EUR trong 1 ngày
(0 Nhận xét)
0.0
meriemchakir72

Si tu veux tu peux. Relevant Skills and Experience C,C++,Matlab

€23 EUR trong 8 ngày
(0 Nhận xét)
0.0
vincentchauau

I have algorithm data analysis background, I am a great coder with optimized code, optimized design, completed requirements. My linkedin account: [login to view URL] I know that I am new to free Thêm

€30 EUR trong 2 ngày
(0 Nhận xét)
0.0
samehafifi

I am a senior embedded c developer and have more than 6 years of experience in c programming

€30 EUR trong 1 ngày
(0 Nhận xét)
0.0
vbozelli

Hello! How are you? My name is Victor Bozelli Alvarez and I have a degree in Computer Science from Mackenzie Presbyterian University. I am graduated in iOS Development from Apple Developer Academy. I have extensive pr Thêm

€30 EUR trong 2 ngày
(0 Nhận xét)
0.0