Function operator>>(istream&, const string&)

Function Documentation

istream &operator>>(istream &input, const string &search)

Looks for the string search in the input stream and positions the stream right after the string if found.

If not, terminate the program. Used to input mandatory parameters (located after a keyword)

Parameters:
  • flux – input stream to search in

  • search – keyword string to look for