Taking Arabic Character Input in C++ from a console application on Windows -


is there example code showing how accept arabic input user in c++ on console application, in windows?

i'll try answer c++ part. cannot read arabic characters console cin. in <iostream> there's predeclared wcin object of type wistream - wide-character input stream. , should read input not string wstring.

e.g

#include <iostream> #include <string> int main() {    std::wstring s;    std::wcin >> s; } 

this c++ part, question remains whether or not os allows wide characters in console window. hth


Comments

Popular posts from this blog

silverlight - Applying a style to ItemContainerStyle in C# -

c# - NullReferenceException in MySqlClient.NativeDriver -

php - Updating recent updates - Problem in procedure - Any other approach? -