how to open bin file in c code example
Example 1: write a binary file c
FILE *write_ptr;
write_ptr = fopen("test.bin","wb"); // w for write, b for binary
fwrite(buffer,sizeof(buffer),1,write_ptr); // write 10 bytes from our buffer
Example 2: reading from a binary file
public static main(String[] args)
{
Fileinputsream = new FileInputStream("");
buffered
}