Search:

Type: Posts; User: mbxs3

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    1,999

    malloc - verifying amount of memory allocated

    How can I view the number of bytes that have been allocated by using the malloc function?

    I tried:

    mem = (float*)malloc(num*sizeof(float));

    printf("The amount of memory allocated using...
  2. Naming an output file based on an input file name

    Hi,

    I have a program where I will read in a certain .txt file, such as "financial_data.txt" and I will be doing some sorting with this data.

    I want my program to write out the sorted data to an...
  3. Replies
    2
    Views
    1,151

    Thanks camel-man! That space did the trick.

    Thanks camel-man! That space did the trick.
  4. Replies
    2
    Views
    1,151

    Simple C program issue...

    Unfortunately, I do not know many of the technical terms that would probably allow me to explain my issue a lot easier...but here is what my problem is...

    I want my program to take a character...
Results 1 to 4 of 4