// IODetails.h

#include <iostream.h>
#include "GuestInfo.h"
#include "GuestInfoFixed.h"

extern istream& GetLine(istream & in, String& s);
  // PRE: the stream in is in a good state
  // MODIFIES: in, s
  // POST: s contains the next characters of in,
  // up to either the first newline, or the 500th char
  // && FCTVAL == in

extern istream& operator >> (istream & in, GuestInfo & g);
  // MODIFIES: in, cout, g
  // POST: prompts for 4 lines of information about g,
  // which information is placed in g to out
  // and FCTVAL == in

extern istream& operator >> (istream & in, GuestInfoFixed & g);
  // MODIFIES: in, cout, g
  // POST: prompts for 4 lines of information about g,
  // which information is placed in g to out
  // and FCTVAL == in

extern ostream& operator << (ostream & out, const GuestInfo & g);
  // MODIFIES: out
  // POST: adds 4 lines of information about g to out
  // and FCTVAL == out

