![Computers and Technology](/tpl/images/cats/informatica.png)
Computers and Technology, 14.10.2019 22:30, edjiejwi
Write a c/c program that executes the command "ls" with standard output redirected to a file "a. txt". the same program then asks the user to enter a search key (using cin), reads the a. txt file to find it and reports whether the search key was found among the list of files in the current directory or not. note that you must use an exec() function to run the "ls" command and before that, you must redirect stdout to the file a. txt. also, at the end, you must report the result in the stdout. you cannot use the "system()" function. make sure to test your program.
![answer](/tpl/images/cats/otvet.png)
Answers: 3
Other questions on the subject: Computers and Technology
![image](/tpl/images/cats/informatica.png)
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 03:30, brin1021
Jessie has received a contract to build a real-time application for a baker. however, the baker doesn't want to invest too much money. his only requirement is that he wants the customers to know which cupcakes are available at what time and in what quantity. so his core requirement is that the details of product should be in real time. what platform can jessie use to develop this application?
Answers: 1
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 10:30, dreyes439
You are almost finished updating a web site. as part of the update, you have converted all pages from html 4.0 to html5. the project is currently on schedule. however, your project manager has been asked by the marketing team manager to justify a day of time spent validating the site's html5 pages. the marketing team manager does not have technical knowledge of the internet or the web. which is the most appropriate explanation to provide to the marketing team manager?
Answers: 1
Do you know the correct answer?
Write a c/c program that executes the command "ls" with standard output redirected to a file "a. txt...
Questions in other subjects:
![Konu](/tpl/images/cats/mat.png)
Mathematics, 12.12.2020 16:10
![Konu](/tpl/images/cats/istoriya.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 12.12.2020 16:10
![Konu](/tpl/images/cats/mat.png)
Mathematics, 12.12.2020 16:10
![Konu](/tpl/images/cats/mkx.png)
![Konu](/tpl/images/cats/pravo.png)
![Konu](/tpl/images/cats/biologiya.png)
Biology, 12.12.2020 16:10
![Konu](/tpl/images/cats/ekonomika.png)
Business, 12.12.2020 16:10
![Konu](/tpl/images/cats/biologiya.png)
Biology, 12.12.2020 16:10