Search:

Type: Posts; User: wztch

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    3,674

    int num_arr[9]; int m = 0; FILE *fp; fp =...

    int num_arr[9]; int m = 0; FILE *fp;
    fp = fopen("test.bin", "rb");
    int x[10] = { -1,-3,-2,-5,-6,-7,-8,-9,-4 };
    for (int i = 0; i <= 9; i++) {
    fwrite(&x[i], sizeof(int), 9,...
  2. Replies
    7
    Views
    3,674

    can you explain a bit please ?

    can you explain a bit please ?
  3. Replies
    7
    Views
    3,674

    Binary file output

    so I have this problem, I want to write array of numbers to binary file and then read them from it and write them into another array, but I get some wrong numbers, how do i fix it ?
    #include...
Results 1 to 3 of 3