regarding assignment 6

4 views
Skip to first unread message

hemant hariyale_MT_2010CS10

unread,
Jul 10, 2011, 12:50:17 AM7/10/11
to C summer class
Assignment on file handling class

Q1. Write a program to count the number of lines and characters in a
file.

Q2. Write a program to display file contents 20 lines at a time. The
program pauses after displaying 20 lines until the user presses either
Q to quit or Return to display the next 20 lines. (The Unix operating
system has a command called more to do this).

Q3. Write a file copy program which copies the file “prog.c” to
“prog.old”

Q4.Prompt user for filename and display file contents on the screen.

Thanks,

Submit it latest by 12th july before lab exam....

Hom Raj Thapa

unread,
Jul 11, 2011, 3:14:14 AM7/11/11
to c-summe...@googlegroups.com
sir,what's about today class?

hemant hariyale_MT_2010CS10

unread,
Jul 11, 2011, 3:19:45 AM7/11/11
to C summer class

Today's class is scheduled at 2:30 pm please be there everyone.....



On Jul 11, 12:14 am, Hom Raj Thapa <rajhi...@gmail.com> wrote:
> sir,what's about today class?
>
> On Sun, Jul 10, 2011 at 10:20 AM, hemant hariyale_MT_2010CS10 <
>
Reply all
Reply to author
Forward
0 new messages