1.

Example of How to write data in a binary file?​

Answer»

binary file containing the elements of the by 4 by 4 magic square STORED as double PRECISION floating point numbers . Explanation:FileID = fopen (magic 4 bin' w ' ) ,FWRITE (fileID ,a magic(4)',double') ;fclose(fileID); open the file, magic 4



Discussion

No Comment Found