Text converted to wchar_t where necessary

This commit is contained in:
King_DuckZ 2013-08-19 19:00:46 +02:00
parent f861039851
commit 2299247e77
5 changed files with 80 additions and 41 deletions

View file

@ -102,8 +102,9 @@ int main (int parArgc, const char* const parArgv[]) {
}
WordReference wref("en", "it", DefApiKey);
wref.Translate("house", std::wcout);
wref.Translate(L"house", std::wcout);
std::wcout << wref.GetHttpLink("north face") << L"\nWritten by King_DuckZ; © WordReference.com" << std::endl;
std::cout << wref.GetHttpLink(L"north face") << "\n";
std::wcout << L"Written by King_DuckZ; © WordReference.com" << std::endl;
return 0;
}