Write a library with a header file “MyString.h” and implementation file “MyString.cpp”, which contains the following functions:
_ A function “input_string(string &s)” which allows the user to input a string including white spaces
_ A function “int compare_string(string &s1, string &s2)” which compare 2 strings follow dictionary order (do not use library). The function returns 1 if string s1 has higher order than string s2, returns -1 if string s2 has higher order than string s1, return 0 if 2 strings are identical.
Test the functions in a suitably defined main program.