JLospinoso / ccc

Companion Code for C++ Crash Course
https://ccc.codes
GNU General Public License v3.0
378 stars 107 forks source link

tiny mistake in cstdlib reference #203

Closed chaiken closed 1 year ago

chaiken commented 3 years ago

On p. 353 of the first printing,

void fclose(FILE* file)

should instead be

int fclose(FILE *file)

JLospinoso commented 1 year ago

Either is correct. It's a matter of style where you put the asterisk 🙂