Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 389 Bytes

README.md

File metadata and controls

10 lines (7 loc) · 389 Bytes

File I/O

Implement a function that reads the initial temperature field from a file bottle.dat. The file contains a header line

# ncols nrows

where ncols and nrows are integers that indicate the number of columns and rows, respectively. The header line is followed by lines representing the rows of the temperature field. A skeleton code is provided in read.c.