# Include <iostream>
# Include <vector>
# Include <string>
# Include <algorithm>
Using namespace STD;
Int main ()
{
Vector <char> VEC;
Vector <char >:: iterator it;
Cout <"Enter the first string" <Endl;
Char ch;
While (CH = getchar ())! = '#')
VEC. push_back (CH );
For (IT = Vec. Begin (); it! = Vec. End (); It ++)
Cout <* It <Endl;
Cout <"enter the second string" <Endl;
// While (CH = getchar ())
Char * s = "ABC ";
Int I = 0;
For (I = 0; I <Vec. Size (); I ++)
{
If (VEC. at (I) = s [0])
Cout <s [0] <"appears in the" <I + 1 <"position" <Endl;
Cout <"************************************ * ***************************** "<Endl;
If (VEC. at (I) = s [1])
Cout <s [1] <"appears in the" <I + 1 <"position" <Endl;
Cout <"************************************ * ***************************** "<Endl;
If (VEC. at (I) = s [2])
Cout <s [2] <"appears in the" <I + 1 <"position" <Endl;
Cout <"************************************ * ***************************** "<Endl;
}
}