Hello ever one,
i've aquestion about reading from console screeen i've a search engine project and i want when i start to enter the required word to search the console begins to display suggestions like google in the attached photo my problem now how can i make the main sense the letter before pressing enter to display the suggestions before the user press enter to search.
my mean in a nother way:
in main when i identify for ex
string i;
cin>>i;
the variable i will set to the value after entering it from console screen and press enter i want to sense every letter before pressing enter to be able to display suggestions to the user.
thanks alot.
i've aquestion about reading from console screeen i've a search engine project and i want when i start to enter the required word to search the console begins to display suggestions like google in the attached photo my problem now how can i make the main sense the letter before pressing enter to display the suggestions before the user press enter to search.
my mean in a nother way:
in main when i identify for ex
string i;
cin>>i;
the variable i will set to the value after entering it from console screen and press enter i want to sense every letter before pressing enter to be able to display suggestions to the user.
thanks alot.
Attachments
-
27.9 KB Views: 18
Last edited: