Thread: Incorrect response from function

  1. #16
    Registered User
    Join Date
    Mar 2012
    Location
    the c - side
    Posts
    373
    @Tim : nice to know someone's paying attention.

  2. #17
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    Quote Originally Posted by gemera View Post
    @Tim : nice to know someone's paying attention.
    I did NOT see your reply with the same answer till after I posted mine.

    Tim S.
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

  3. #18
    Registered User
    Join Date
    Mar 2012
    Location
    the c - side
    Posts
    373
    I was just referring to the "like" you gave it.

  4. #19
    TEIAM - problem solved
    Join Date
    Apr 2012
    Location
    Melbourne Australia
    Posts
    1,907
    Quote Originally Posted by gemera View Post
    I think it's the size of your realloc - you are not allocating in terms of the number of ints.
    How did I miss that?!...

    Thanks gemera
    Fact - Beethoven wrote his first symphony in C

  5. #20
    Registered User
    Join Date
    Mar 2012
    Location
    the c - side
    Posts
    373
    No worries.

    I think it might have got lost because you replied to my first post just about simultaneously with my second post arriving.

    All in the timing I think.
    Last edited by gemera; 10-02-2014 at 05:26 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Runtime function response question
    By askinne2 in forum C Programming
    Replies: 3
    Last Post: 09-28-2010, 08:25 PM
  2. Replies: 14
    Last Post: 12-04-2009, 05:24 PM
  3. Slow response from function
    By rogster001 in forum C++ Programming
    Replies: 7
    Last Post: 09-22-2009, 02:36 AM
  4. Function returning incorrect value
    By CHurst in forum C Programming
    Replies: 3
    Last Post: 12-13-2005, 01:27 PM
  5. Replies: 3
    Last Post: 07-24-2002, 08:46 AM