Probably my English is bad or I could not communicate well.
Yes! I agree, I don't even know the basics of C, sorry for troubling you guys.
I have a little knowledge about file operations and...
Type: Posts; User: jayfriend
Probably my English is bad or I could not communicate well.
Yes! I agree, I don't even know the basics of C, sorry for troubling you guys.
I have a little knowledge about file operations and...
Quote:
Originally Posted by c99
7.19.4.1 The remove function
But how do I truncate the file? How I delete the selected lines of a file?
Thanks in advance.
Could you please explain me how do these f-ing functions help access the disk,
especially the sectors or data blocks. In other words, how can I store the tree elements in the file which will allow...
Hi Citizen,
Could you please help me write the function which will delete the contents of a file.
Thanks in advance.
Thanks Desolation for your suggestion.
Do we have any other solutions apart from renaming the files?
Thanks in advance.
Thanks a lot for your suggestions vart ,andor & quzah !
I am looking for a function or system call with which we can delete the file contents.
Please let me know your suggestions on this.
Thanks in advance.
Thanks for your info Salem & iMalc !
I would like to store the trees containing the data (customer records) on the disk, so that I can retrieve them when ever I need with better performance than...
How do I add one more argument to an existing function which is called by other functions from various modules of the project?
I would like to add this new argument without or minimum risk. Is there...
Thanks a lot for your info, Salem!
Is there a way to write our own file system to manage the data?
Thanks in advance.
Try implementing a solution; we will help you if you have any questions.
I guess, you know what the prime number is.
Cheers
I would like to create tree structures to store the data on disk. I wonder if I can use files to store them. Is there any way that I can access the disk block/sectors? so that, I can maintain my own...
Hi All,
I would like to delete the specific lines in a file programmatically, is there any way I can do that? Similar to the one we do it in notepad i.e. as soon as we delete a line the line below...
Great idea ! I need to improve my thinking.
Thanks a lot
There is a problem in opening the link.
Hi All,
I would like to swap the contents of two large files without using any temporary file. However, a buffer can be used instead of temporary file. I could swap the file contents, but have a...
Hi All,
Could anyone tell me the difference between memory allocation scheme used by malloc and realloc. I would like to know how realloc reasssigns the memory to a pointer variable. In other...