Hello! I'm new to this forum.
I really suck at C/C++ and I was wondering if anyone can help me with a program.
Write a program in C which will print a menu so the user can choose if he wants to print the contents of a file, calculate the size(using lseek) of the file or delete the said file. Then it will ask from the user the name of the file he wants those actions performed on. Each action will be executed by a child that the father creates.
If somebody can help me with that program, I'd be indebted to them. Also, if possible, write a comment next to each command so I can understand what it does. The point is for me to understand the program.
Thank you, and I'll be waiting.