Search:

Type: Posts; User: jayfriend

Search: Search took 0.01 seconds.

  1. Thread: Disk I/O

    by jayfriend
    Replies
    12
    Views
    2,484

    Probably my English is bad or I could not...

    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...
  2. Replies
    10
    Views
    16,827

    Quote: Originally Posted by c99 7.19.4.1 The...

    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.
  3. Thread: Disk I/O

    by jayfriend
    Replies
    12
    Views
    2,484

    Could you please explain me how do these f-ing...

    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...
  4. Replies
    10
    Views
    16,827

    Hi Citizen, Could you please help me...

    Hi Citizen,




    Could you please help me write the function which will delete the contents of a file.

    Thanks in advance.
  5. Replies
    5
    Views
    3,345

    Thanks Desolation for your suggestion. Do we...

    Thanks Desolation for your suggestion.

    Do we have any other solutions apart from renaming the files?

    Thanks in advance.
  6. Replies
    5
    Views
    1,630

    Thanks a lot for your suggestions vart ,andor &...

    Thanks a lot for your suggestions vart ,andor & quzah !
  7. Replies
    10
    Views
    16,827

    I am looking for a function or system call with...

    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.
  8. Thread: Disk I/O

    by jayfriend
    Replies
    12
    Views
    2,484

    Thanks for your info Salem & iMalc ! I would...

    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...
  9. Replies
    5
    Views
    1,630

    how to add a parameter to the function

    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...
  10. Thread: Disk I/O

    by jayfriend
    Replies
    12
    Views
    2,484

    Thanks a lot for your info, Salem! Is there a...

    Thanks a lot for your info, Salem!

    Is there a way to write our own file system to manage the data?

    Thanks in advance.
  11. Replies
    4
    Views
    3,899

    Try implementing a solution; we will help you if...

    Try implementing a solution; we will help you if you have any questions.

    I guess, you know what the prime number is.

    Cheers
  12. Thread: Disk I/O

    by jayfriend
    Replies
    12
    Views
    2,484

    Disk I/O

    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...
  13. Replies
    10
    Views
    16,827

    delete the file contents

    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...
  14. Replies
    5
    Views
    3,345

    Great idea ! I need to improve my thinking. ...

    Great idea ! I need to improve my thinking.

    Thanks a lot

    There is a problem in opening the link.
  15. Replies
    5
    Views
    3,345

    Swap the file contents

    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...
  16. Replies
    4
    Views
    2,539

    malloc and realloc

    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...
Results 1 to 16 of 16