Search:

Type: Posts; User: iheartc

Search: Search took 0.01 seconds.

  1. thanks for your time everyone.!

    thanks for your time everyone.!
  2. Here is the revised code. Still not sure about...

    Here is the revised code. Still not sure about the way I allocated the memory. Just could not figure out without having to put in the initial fix size first.

    I don't know the file size until...
  3. Thanks Salem.

    Thanks Salem.
  4. Jim, Thanks. Yeah.. I read both your and...

    Jim,

    Thanks. Yeah.. I read both your and Kurt's feedback. I moved my free function to main right before return. I also took off the increment in the printf. I guessed I thought walk through...
  5. Is this the right/best way to free up the memory

    I got my code to work, but need some feedback if I am free up the memory correctly? Is there a way to make sure that I have clear up the memory? I just wanted to get in the good habit since I am...
  6. Thanks Laserlight! Your quick feedback is really...

    Thanks Laserlight! Your quick feedback is really helpful. Now, I need to get better on passing local variable to pointer within function.
  7. Main function does not return any values when calling other function.

    Please help. I learning about function with return pointer value.

    The function is supposed to return value from the file in my main, but I am getting empty value.

    I am trying to get better...
Results 1 to 7 of 7