Search:

Type: Posts; User: Little_Dump

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    3,124

    Ok i see why that works but why do I check if it...

    Ok i see why that works but why do I check if it equals 1?
  2. I multiply by 2 because I am doubling the size of...

    I multiply by 2 because I am doubling the size of the array, thats why I do that

    And it still doesnt work after doing all that you said
  3. Replies
    5
    Views
    3,124

    Thats not the problem. It doesnt traverse the...

    Thats not the problem.

    It doesnt traverse the string because it is not a stream. Everytime sscanf is executed, it reads the same thing each time.
  4. Replies
    5
    Views
    3,124

    sscanf question

    Since a string is not a stream how do I get sscanf to traverse the string rather than keep reading the first thing? I want to use the following while loop but because of this problem it goes infinite...
  5. Problem with realloc in the following function

    I'm trying to write a function that doubles the size of an array of strings. The function also initializes all the new elements in the array to 100 char strings. However, the function doesnt work at...
Results 1 to 5 of 5