Creating a file

Post new topic   Reply to topic

View previous topic View next topic Go down

Creating a file

Post  Admin on Sun Aug 10, 2008 3:09 pm

Make a file whose name starts with a '-' sign for e.g. -z and open it with vi editor. In that write a C code that prints the file name.

Admin
Admin

Posts: 39
Join date: 2008-08-03

View user profile http://computerclub09mnnit.forumotion.net

Back to top Go down

Re: Creating a file

Post  ankitgr8 on Mon Aug 11, 2008 10:27 am

File can be created using two '-' i.e. vi -- -z.c

ankitgr8

Posts: 6
Join date: 2008-08-11

View user profile

Back to top Go down

Re: Creating a file

Post  Gyanendra on Mon Sep 08, 2008 3:48 am

gud yaar ankit !!!

Gyanendra

Posts: 8
Join date: 2008-09-07

View user profile

Back to top Go down

View previous topic View next topic Back to top


Permissions of this forum:
You cannot reply to topics in this forum