Oana Paraschiv
Oana Paraschiv

Reputation: 1

Implement the functionality of the wc and head controls

I need help to solve these requirements: Implement the functionality of the wc and head controls. The wc command will need to use and recognize the -w and -c options. The head command will need to use and recognize the -c and -n options. The functionality of the 2 commands in the C / C ++ application will have to be identical to the functionality of the bash wc and head commands (including using the 2 options or generating error messages). It is not accepted to use the system / exec / execute functions to solve it.

Upvotes: 0

Views: 174

Answers (0)

Related Questions