Search:

Type: Posts; User: Ggregagnew

Search: Search took 0.00 seconds.

  1. Thanks for the suggestions I'll give them a try...

    Thanks for the suggestions I'll give them a try and let you know how it goes.

    That is a good point andurll. From what I can see this code is a bit less costly too.

    Yes the pointers always have...
  2. You have a good point, I should really have that...

    You have a good point, I should really have that in there!

    I Tried adding +1 to my malloc statement, but I receive the same errors.

    I'll go back through where I pass the variables from and make...
  3. Memory Allocation Error - /w Valgrind Output

    Hi,

    I need some help with this error, I simply can't find the cause. I know it is probably going to be obvious, but I'm fairly sure malloc is being used incorrectly.

    Any and all comments...
  4. Replies
    3
    Views
    2,258

    Pointer Segmentation Fault

    Hi I am getting a segmentation fault on the line '*buffer = data;'. I've done some research and figured out that it is because my memory is not allocated properly, but I'm not sure how to solve it.
    ...
Results 1 to 4 of 4