Friday, August 05, 2011

PDF slides prepared for Chapters 13 and 14

I have prepared and uploaded PDF slides for "Chapter 13: Structs" and "Chapter 14: Using the C stream I/O functions" to http://seyfarth.tv/asm for users of my book to download.  This is a short chapter focusing on using an array of structs.  Chapter 15 discusses data structures where structs will be central to the discussion.

The stream I/O chapter discusses using fopen, fseek, fprintf, fscanf, fread, fwrite, and several more basic I/O functions.  These are more efficient for reading and writing small amounts of data.  They are also fairly efficient for arrays of data.  The last function uses fseek to position a file and fwrite to write a customer object to a file.

Only 5 more sets of slides to prepare!

No comments: