
try the following:

  # make
  # ./accessing_a_file


You should end up with (on a Mac):

  # ~.../08_-_using_the_file_package : make && ./accessing_a_file
    ##
    # User Database
    # 
    # Note that this file is consulted directly only when the system is running
    # in single-user mode.  At other times this information is provided by
    # Open Directory.
    #
    # This file will not be consulted for authentication unless the BSD local node
    # is enabled via /Applications/Utilities/Directory Utility.app
    # 
    # See the DirectoryService(8) man page for additional information about
    # Open Directory.
    ##
    nobody:*:-2:-2:Unprivileged User:/var/empty:/usr/bin/false
    root:*:0:0:System Administpool/uucp:/usr/sbin/uucico
    _lp:*:26:26:Printing Services:/var/spool/cups:/usr/bin/false
    _postfix:*:27:27:Postfix Mail Server:/var/spool/postfix:/usr/bin/false
    _mcxalr:*:54:54:MCX AppLaunch:/var/empty:/usr/bin/false
    _pcastagent:*:55:55:Podcast Producer Agent:/var/pcast/agent:/usr/bin/false
    _pcastserver:*:56:56:Podcast Producer Server:/var/pcast/server:/usr/bin/false
    _serialnumberd:*:58:58:Serial Number Daemon:/var/empty:/usr/bin/false
    _devdocs:*:59:59:Developer Documentation:/var/empty:/usr/bin/false
    _sandbo


Note the interrupted line for root, cause by the seek.


  # ~.../08_-_using_the_file_package : make && ./accessing_a_file | wc -c
    1025


The addtional character is caused by the std::endl we add.

