Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Search results for query: *

  1. infinitetrutles

    malloc not returning anything

    Thanks for the response song is a 2 dimensional array. so song is an array of pointers (or an array of arrays if you prefer to think of it like that). for example try compiling the following: #include <stdio.h> #include <stdlib.h> #include <string.h> int main(void) { char* example[5]...
  2. infinitetrutles

    malloc not returning anything

    Hi, I am having an issue where allocating memory is not returning focus to my code. the call to malloc is made and the processor is running the program at 100%, but my program makes no further progress. is this an infinite loop inside the malloc code? I currently have the code: printf("about...

Part and Inventory Search