Results 1 to 6 of 6
Hi firends,
I am newest candidate in linux world . I have a large file having data like
Amake NN 0
Asa VB 0
....... ....... ......
I haveto read ...
- 02-18-2009 #1Just Joined!
- Join Date
- Feb 2009
- Posts
- 4
A C program for File retrieving & modifying
Hi firends,
I am newest candidate in linux world . I have a large file having data like
Amake NN 0
Asa VB 0
....... ....... ......
I haveto read the file which is in another directory & I have to create & save more columns in each row corresponding to the data given in each row.
how can it be done using C code?
Thanks in advance.
- 02-24-2009 #2Just Joined!
- Join Date
- Feb 2009
- Posts
- 4
Pls Anybody reply to my post..
- 02-24-2009 #3Just Joined!
- Join Date
- Jan 2009
- Location
- Bangalore
- Posts
- 15
A C program for File retrieving & modifying
Hi,
If you wan't to do with c library files like using fopen, fgets, fwread,fclose and so on..
If you wan't to do with system call use open,close, read,write and so on...
- 02-25-2009 #4Just Joined!
- Join Date
- Feb 2009
- Posts
- 4
- 02-27-2009 #5Just Joined!
- Join Date
- Jan 2009
- Location
- Bangalore
- Posts
- 15
A C program for File retrieving & modifying
hi,
in while use putc and write the string into the file... if the character contains newline skip the character...
- 02-27-2009 #6


Reply With Quote
