This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: To translates a text file containing double values into a binary file: • while(fscanf(in, "%lf", &d) == 1) • if(fwrite(&d, sizeof(double), 1, out) != 1) • To translate a binary file of double data into a text file:...
View Full Document
This note was uploaded on 02/18/2012 for the course CS 240 taught by Professor Rego during the Fall '08 term at Purdue University-West Lafayette.
- Fall '08