thnxx. i thought there are some other methods of file operations in unix but these are all same like in windows.......thnxx for ur help...........
and are there any editor execpt vi editor to run a c code in unix just like,turbo c,dev-cpp for windows........
pls reply....
thnxx in advance.....
vi is just an editor, like notepad in windows.
It is not IDE like turbo c where you can execute the code.
You can use other editors like 'nano','gedit'.
I suggest you 'fopen' because you were from windows platform.
There are standard POSIX compliant system calls on linux/unix like open,read,close,write etc.
including stdio.h alone can bring the support for fopen.
You can use open,read,close,write etc. sys calls by including following files.
sys/types.h,sys/stat.h,fcntl.h
Happy Coding.....