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


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.

Aptitudini: Programare C++, Programare C, Arhitectură software, Algoritm, Linux

Vezi mai multe: 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

Despre angajator:
( 0 recenzii ) Cagliari, Italy

ID Proiect: #22687045

16 freelanceri licitează în medie 34€ pentru acest proiect


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.

%bids___i_sum_sub_35%%project_currencyDetails_sign_sub_36% EUR în 2 zile
(435 recenzii)

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

%bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% EUR în 1 zi
(46 recenzii)

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

%bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% EUR în 1 zi
(27 recenzii)

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 Mai multe

%bids___i_sum_sub_35%%project_currencyDetails_sign_sub_36% EUR în 7 zile
(3 recenzii)

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 Mai multe

%bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% EUR în 1 zi
(4 recenzii)

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 Mai multe

%bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% EUR în 1 zi
(4 recenzii)

please discuss, keen to do it. Negotiable price.

%bids___i_sum_sub_35%%project_currencyDetails_sign_sub_36% EUR în 3 zile
(3 recenzii)

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 Mai multe

%bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% EUR în 1 zi
(2 recenzii)

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 Mai multe

%bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% EUR în 1 zi
(1 părere)

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 Mai multe

%bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% EUR în 1 zi
(2 recenzii)

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 Mai multe

%bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% EUR în 1 zi
(0 recenzii)

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

%bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% EUR în 1 zi
(0 recenzii)

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

%bids___i_sum_sub_35%%project_currencyDetails_sign_sub_36% EUR în 8 zile
(0 recenzii)

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 Mai multe

%bids___i_sum_sub_35%%project_currencyDetails_sign_sub_36% EUR în 2 zile
(0 recenzii)

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

%bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% EUR în 1 zi
(0 recenzii)

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 Mai multe

%bids___i_sum_sub_35%%project_currencyDetails_sign_sub_36% EUR în 2 zile
(0 recenzii)