Search:

Type: Posts; User: Binaryperson

Search: Search took 0.00 seconds.

  1. Well sorry for the misunderstanding. It...

    Well sorry for the misunderstanding.



    It involves using the malloc() function. You just malloc() partSize amount of bytes and then read and write the allocated amount of bytes.
  2. partSize is the size of each part. parts is the...

    partSize is the size of each part. parts is the number of parts. partSize is determined by dividing the the file size by the number of parts. Then, the first partSize amount of bytes are read from...
  3. Maybe these this forum isn't for beginners?...

    Maybe these this forum isn't for beginners?
    total_bytes_read and bytes_read I need to declare as integers and my program should work?
    what do I think of it? Your solution seems simple and I like...
  4. Yes, that is why I am stil struggling with it.

    Yes, that is why I am stil struggling with it.
  5. I thought it didn't matter? Well 512 are being...

    I thought it didn't matter? Well 512 are being read and 512 written. The total number of bytes must not exceed partSize bytes.
  6. I have spent two days trying to figure this out,...

    I have spent two days trying to figure this out, so I am extremely frustrated.
  7. Posting to forums is a new concept to me. In the...

    Posting to forums is a new concept to me. In the future, I will cite any other websites I may have posted a similar questions to. I am using gcc 4.4.3. Would you mind sharing what is missing in my...
  8. Wow, impressive detective work. What is your...

    Wow, impressive detective work. What is your point? I've posted my question in three different places and no one has been able to give me any help. Why would I change the question each time I post...
  9. C read and write specific amount of bytes from file and to file

    HEY C Board! How is everyone? Binaryperson here wishing everyone a Happy new year!
    I want my program to print "partSize" amount of bytes of the original file to the new file.
    If the original file...
  10. C read and write specific amount of bytes from file and to file

    Hello. I want my program to print "partSize" amount of bytes of the original file to the new file.
    If the original file contains:

    0123456789
    0123456789
    0123456789
    0123456789
    0123456789...
Results 1 to 10 of 10