Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. snb021

    Stuck in infinite loop

    Are the loops in your addToArray function straight? If the data types of i and SIZE are not the same like Jason said, then thats the only other thing that may be the problem. Unless, of course the infinite loop is in another part of your code. Peace out.
  2. snb021

    Resize one-dimensional array

    Marsd, char *** can be called an array of string arrays, no? What else can it be known as?
  3. snb021

    Resize one-dimensional array

    So monkey, do you actually need to change the size of the elements of your array or change the actual number of elements in the array? If it is the latter, then you can use calloc(numEls, elemSize) to dynamically allocate space for an array at run-time. Let me know what happens. Sam
  4. snb021

    truncated file names

    Maybe in the last else block you should use strcmp(...) instead of != in the two if conditions inside the loop? Actually, I don't think thats gona help, but you never know. When you do get the answer can you post it (its an interesting problem)? Which libraries did you include for this...
  5. snb021

    A linked list with a loop

    Thanks for your insight on the question guys!
  6. snb021

    A linked list with a loop

    Theoretically, given a linked list, how can you tell if there is a "loop" in it (i.e. one node is being pointed to by more than one other node)?? Then, how can you tell where the "loop" starts??

Part and Inventory Search

Back
Top