Function operator>>(istream&, const char *)

Function Documentation

istream &operator>>(istream &input, const char *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