Search:

Type: Posts; User: Astoria

Search: Search took 0.03 seconds.

  1. for(j=0;j

    for(j=0;j<28;j++)
    {
    fread(&v[j],sizeof(CURSO),1,f); //for reading the file to the array
    }

    for(j=0;j<28;j++)
    {
    fwrite(&v[j],sizeof(CURSO),1,f); //for writing the array to the...
  2. Ok thanks. I'm going to try that.

    Ok thanks. I'm going to try that.
  3. Aval *n_data, and float *n_aval are two arrays...

    Aval *n_data, and float *n_aval are two arrays which size I don't know. So I have to declare them with a pointer so i can alocate memory when i need to store values in the array. Am i right?
    So how...
  4. Problem writing structure within another structure to file

    I'm having trouble writing the folowing structure to a binary file:



    typedef struct
    {
    int day, month, year;
    } Aval;

    typedef struct
Results 1 to 4 of 4